aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/sim_pipeline.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-06-01 01:04:16 -0700
committerBryan Newbold <bnewbold@archive.org>2021-06-02 00:38:51 -0700
commit01a1978d5b9667df4ae71a7934512e6c4e3bf9a8 (patch)
treed9d0e87e0c1bdb842696018174db4f432bab20c9 /fatcat_scholar/sim_pipeline.py
parent86b29ed5fca70fc0c52443acf6a5ec1a398ed3f6 (diff)
downloadfatcat-scholar-01a1978d5b9667df4ae71a7934512e6c4e3bf9a8.tar.gz
fatcat-scholar-01a1978d5b9667df4ae71a7934512e6c4e3bf9a8.zip
schema: add 'crossref' to bundle schema, and add from_json() helper
from_json() refactor was an earlier TODO, to reduce duplication when updating fields on this class
Diffstat (limited to 'fatcat_scholar/sim_pipeline.py')
-rw-r--r--fatcat_scholar/sim_pipeline.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fatcat_scholar/sim_pipeline.py b/fatcat_scholar/sim_pipeline.py
index e5e2a02..d602edf 100644
--- a/fatcat_scholar/sim_pipeline.py
+++ b/fatcat_scholar/sim_pipeline.py
@@ -122,6 +122,7 @@ class SimPipeline:
doc_type=DocType.sim_page,
releases=[],
biblio_release_ident=None,
+ crossref=None,
grobid_fulltext=None,
pdftotext_fulltext=None,
sim_fulltext=dict(