pre-commit lint

This commit is contained in:
Xi Yan 2024-09-28 16:04:41 -07:00
parent ced5fb6388
commit 4ae8c63a2b
9 changed files with 19 additions and 14 deletions

View file

@ -435,13 +435,13 @@ def main(yaml_config: str, port: int = 5000, disable_ipv6: bool = False):
apis_to_serve = set(config.apis_to_serve)
else:
apis_to_serve = set(impls.keys())
for api_str in apis_to_serve:
api = Api(api_str)
endpoints = all_endpoints[api]
impl = impls[api]
provider_spec = specs[api]
if (
isinstance(provider_spec, RemoteProviderSpec)