From ecbaa7ff48d046e77547a69dd2be8ef0c7b9bf04 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 17 Nov 2021 17:31:59 -0800 Subject: WIP: start fixing types and lints from openapi annotations --- python/fatcat_tools/transforms/entities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/fatcat_tools/transforms/entities.py') diff --git a/python/fatcat_tools/transforms/entities.py b/python/fatcat_tools/transforms/entities.py index e5da633f..4066297b 100644 --- a/python/fatcat_tools/transforms/entities.py +++ b/python/fatcat_tools/transforms/entities.py @@ -58,7 +58,7 @@ def entity_to_toml( def entity_from_toml( - toml_str: str, entity_type: Any, api_client: Optional[List[str]] = None + toml_str: str, entity_type: Any, api_client: Optional[ApiClient] = None ) -> Any: obj = toml.loads(toml_str) return entity_from_dict(obj, entity_type, api_client=api_client) -- cgit v1.2.3