From 01a1978d5b9667df4ae71a7934512e6c4e3bf9a8 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 1 Jun 2021 01:04:16 -0700 Subject: 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 --- fatcat_scholar/sim_pipeline.py | 1 + 1 file changed, 1 insertion(+) (limited to 'fatcat_scholar/sim_pipeline.py') 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( -- cgit v1.2.3