proud-dentist-22844
02/01/2023, 12:31 AMall_explicit_dependencies = await MultiGet(
Get(
ExplicitlyProvidedDependencies,
DependenciesRequest(tgt[PythonDistributionDependenciesField]),
)
for tgt in targets
)
ep_fields = (tgt[PythonDistributionEntryPointsField] for tgt in targets)
all_resolved_entry_points = await MultiGet(
Get(
ResolvedPythonDistributionEntryPoints,
ResolvePythonDistributionEntryPointsRequest(
entry_points_field=PythonDistributionEntryPointsField(
# filter the entry_points fields to only include the requested namespaces
{
ns: ep_field.value[ns]
for ns in ep_field.value.keys() & set(namespaces.value)
},
ep_field.address,
)
),
)
for ep_field in ep_fields
)