diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-10 13:52:39 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-10 13:52:43 -0800 |
commit | ddc757bc1d5c610f42e9f5f10a4f060f517b66ca (patch) | |
tree | 86ccdef998bd3da3910cfe8fb9f2177b58a664a0 /python/fatcat_tools/importers/__init__.py | |
parent | 16e9979a6f347b49764c1141209e84083ea81057 (diff) | |
download | fatcat-ddc757bc1d5c610f42e9f5f10a4f060f517b66ca.tar.gz fatcat-ddc757bc1d5c610f42e9f5f10a4f060f517b66ca.zip |
refactor importer metadata tables into separate file; move some helpers around
- MAX_ABSTRACT_LENGTH set in a single place (importer common)
- merge datacite license slug table in to common table, removing some
TDM-specific licenses (which do not apply in the context of preserving
the full work)
Diffstat (limited to 'python/fatcat_tools/importers/__init__.py')
-rw-r--r-- | python/fatcat_tools/importers/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/__init__.py b/python/fatcat_tools/importers/__init__.py index 4d4d696b..654be2e9 100644 --- a/python/fatcat_tools/importers/__init__.py +++ b/python/fatcat_tools/importers/__init__.py @@ -26,9 +26,8 @@ from .common import ( KafkaJsonPusher, LinePusher, SqlitePusher, - make_kafka_consumer, ) -from .crossref import CROSSREF_TYPE_MAP, CrossrefImporter, lookup_license_slug +from .crossref import CrossrefImporter from .datacite import DataciteImporter from .dblp_container import DblpContainerImporter from .dblp_release import DblpReleaseImporter |