diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-17 16:11:44 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-23 17:39:02 -0800 |
commit | f208054f6883589239f21d5e46545960c45ece18 (patch) | |
tree | a58de9b342d22b8980f67e14ac8144e273835ffb /python/fatcat_tools/workers/elasticsearch.py | |
parent | 16e0a5cef642f1d180354fa1da9ea568ebdd3946 (diff) | |
download | fatcat-f208054f6883589239f21d5e46545960c45ece18.tar.gz fatcat-f208054f6883589239f21d5e46545960c45ece18.zip |
python: fix api annotations (DefaultApi not ApiClient)
Diffstat (limited to 'python/fatcat_tools/workers/elasticsearch.py')
-rw-r--r-- | python/fatcat_tools/workers/elasticsearch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/workers/elasticsearch.py b/python/fatcat_tools/workers/elasticsearch.py index 71c4dcf6..7c959e93 100644 --- a/python/fatcat_tools/workers/elasticsearch.py +++ b/python/fatcat_tools/workers/elasticsearch.py @@ -46,7 +46,7 @@ class ElasticsearchReleaseWorker(FatcatWorker): self.elasticsearch_backend = elasticsearch_backend self.elasticsearch_index = elasticsearch_index self.elasticsearch_release_index = elasticsearch_release_index - self.entity_type = ReleaseEntity + self.entity_type: Union[ReleaseEntity,ChangelogEntry,ContainerEntity] = ReleaseEntity self.transform_func: Callable = release_to_elasticsearch self.api_host = api_host self.query_stats = query_stats |