diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-10 10:20:21 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-10 10:20:21 -0800 |
commit | c0af75e31983852b15e430260dd67f220f31981a (patch) | |
tree | 34ed7de2808059ee0e5a891ca5c5968ea54ad894 /python/fatcat_tools | |
parent | 9fd2afc91d43ff4f0d81d66f19ea4351c2168411 (diff) | |
download | fatcat-c0af75e31983852b15e430260dd67f220f31981a.tar.gz fatcat-c0af75e31983852b15e430260dd67f220f31981a.zip |
add another ingest request source to whitelist
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r-- | python/fatcat_tools/importers/ingest.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py index 7dad13ce..deb4ef51 100644 --- a/python/fatcat_tools/importers/ingest.py +++ b/python/fatcat_tools/importers/ingest.py @@ -28,13 +28,16 @@ class IngestFileResultImporter(EntityImporter): print("Requiring GROBID status == 200") else: print("NOT checking GROBID success") - self.ingest_request_source_whitelist = ['fatcat-changelog'] + self.ingest_request_source_whitelist = [ + 'fatcat-changelog', + 'fatcat-ingest-container', + ] if kwargs.get('skip_source_whitelist', False): self.ingest_request_source_whitelist = [] def want(self, row): """ - Logic here probably needs work: + Logic here probably needs work (TODO): - Direct ingests via DOI from fatcat-changelog should probably go through regardless of GROBID status |