summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-22 13:18:50 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-22 13:18:50 -0800
commit2f344c2f86d6f4db07e99af29ba09c9ce37cb948 (patch)
tree1d0852ae29085b1a9655157b09ac364b0f06a38f /python/fatcat_tools/transforms.py
parent0ecbdac18520f2cb0b171fa35fa6926266da3c55 (diff)
downloadfatcat-2f344c2f86d6f4db07e99af29ba09c9ce37cb948.tar.gz
fatcat-2f344c2f86d6f4db07e99af29ba09c9ce37cb948.zip
include container_id in release ES schema
Diffstat (limited to 'python/fatcat_tools/transforms.py')
-rw-r--r--python/fatcat_tools/transforms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms.py b/python/fatcat_tools/transforms.py
index 182be26e..0e5afd6a 100644
--- a/python/fatcat_tools/transforms.py
+++ b/python/fatcat_tools/transforms.py
@@ -115,6 +115,7 @@ def release_to_elasticsearch(entity, force_bool=True):
if container:
t['publisher'] = container.publisher
t['container_name'] = container.name
+ t['container_id'] = container.ident
t['container_issnl'] = container.issnl
t['container_type'] = container.container_type
if container.extra: