aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuzzycat/matching.py2
-rw-r--r--fuzzycat/py.typed0
-rw-r--r--setup.py6
3 files changed, 5 insertions, 3 deletions
diff --git a/fuzzycat/matching.py b/fuzzycat/matching.py
index bcda46d..b358899 100644
--- a/fuzzycat/matching.py
+++ b/fuzzycat/matching.py
@@ -207,7 +207,7 @@ def retrieve_entity_list(
if entity_type == ReleaseEntity:
for id in ids:
try:
- re = api.get_release(id, hide="refs,abstracts", expand="container")
+ re = api.get_release(id, hide="refs,abstracts", expand="container,contribs,files")
result.append(re)
except ApiException as exc:
if exc.status == 404:
diff --git a/fuzzycat/py.typed b/fuzzycat/py.typed
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fuzzycat/py.typed
diff --git a/setup.py b/setup.py
index 99519e7..040bbc6 100644
--- a/setup.py
+++ b/setup.py
@@ -15,6 +15,7 @@ with open("README.md", "r") as fh:
long_description_content_type="text/markdown",
url="https://github.com/miku/fuzzycat",
packages=setuptools.find_packages(),
+ package_data={"fuzzycat": ["py.typed"]},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
@@ -27,8 +28,9 @@ with open("README.md", "r") as fh:
]},
install_requires=[
"dynaconf>=3",
- "elasticsearch-dsl>=7.0.0,<8.0.0",
- "fatcat-openapi-client>=0.3.3", # https://pypi.org/project/fatcat-openapi-client/
+ "elasticsearch>=7.8.0,<7.14.0",
+ "elasticsearch-dsl>=7.0.0,<8.0.0",
+ "fatcat-openapi-client>=0.4.0", # https://pypi.org/project/fatcat-openapi-client/
"ftfy",
"glom",
"jellyfish",