<@U06A03HV1> the implementation for dependencies ...
# development
h
@witty-crayon-22786 the implementation for dependencies and parameterization assumes that there is only one match per parameterization. Is that reliable?
Copy code
explicitly_provided_includes = [
            parametrizations.get_subset(address, tgt).address
            for address, parametrizations in zip(
                explicitly_provided_includes, explicit_dependency_parametrizations
            )
        ]
Copy code
def get_subset(self, address: Address, consumer: Target) -> Target:
        """Find the Target with the given Address, or with fields matching the given consumer."""
Why would multiple targets not be able to match the consumer?
w
both the consumer and the target in question are parametrized
and the fields which are compared are the consumed target’s parametrized fields
h
I don't think I totally understand, but maybe I don't need to. For my specs change, there is no candidate consumer target right?
w
correct
you just want to find all targets which have a superset of the parameters (without any accounting for field values)
👍 1