remove resolve_distribution_spec

This commit is contained in:
Xi Yan 2024-09-14 14:22:30 -07:00
parent f3492040d6
commit 9e7db7e244
2 changed files with 0 additions and 11 deletions

View file

@ -57,13 +57,3 @@ def available_distribution_specs() -> List[DistributionSpec]:
},
),
]
@lru_cache()
def resolve_distribution_spec(
distribution_type: str,
) -> Optional[DistributionSpec]:
for spec in available_distribution_specs():
if spec.distribution_type == distribution_type:
return spec
return None