aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms/entities.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 17:31:59 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-23 17:39:02 -0800
commitecbaa7ff48d046e77547a69dd2be8ef0c7b9bf04 (patch)
treea2caf61b6104d48d97febc685fe94cd82f00603c /python/fatcat_tools/transforms/entities.py
parent5dc4a695c8d7b802f58d26c78e4209d52c907693 (diff)
downloadfatcat-ecbaa7ff48d046e77547a69dd2be8ef0c7b9bf04.tar.gz
fatcat-ecbaa7ff48d046e77547a69dd2be8ef0c7b9bf04.zip
WIP: start fixing types and lints from openapi annotationsbnewbold-pythonclient-types
Diffstat (limited to 'python/fatcat_tools/transforms/entities.py')
-rw-r--r--python/fatcat_tools/transforms/entities.py2
1 files changed, 1 insertions, 1 deletions
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)