aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:36:16 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:36:16 -0800
commit09a1829a10caf9759762b41c36169c0b88cd5ed7 (patch)
tree2699be7def19c9f1bcde843b293d62101f6409cd /python
parent1e0bf431fbd1ab00f27a305ff3492de8eac90ba6 (diff)
downloadfatcat-09a1829a10caf9759762b41c36169c0b88cd5ed7.tar.gz
fatcat-09a1829a10caf9759762b41c36169c0b88cd5ed7.zip
content_scope: include in file ES schema and transform
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index d4962205..c16053ec 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -650,6 +650,7 @@ def file_to_elasticsearch(entity: FileEntity) -> Dict[str, Any]:
release_ids=entity.release_ids,
release_count=len(entity.release_ids),
mimetype=entity.mimetype,
+ content_scope=entity.content_scope,
size_bytes=entity.size,
sha1=entity.sha1,
sha256=entity.sha256,