diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-27 14:19:29 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-27 18:25:58 -0700 |
commit | 956e64f47f7d47f2539cd6575c25ec0b6a33e567 (patch) | |
tree | b6775a940f21b3dabdd3e7de3398c2da874914fd /fatcat_scholar/transform.py | |
parent | 02249d03d086e71a589733280a2f5e32990f72b1 (diff) | |
download | fatcat-scholar-956e64f47f7d47f2539cd6575c25ec0b6a33e567.tar.gz fatcat-scholar-956e64f47f7d47f2539cd6575c25ec0b6a33e567.zip |
re-style imports (isort) on all core python files
Diffstat (limited to 'fatcat_scholar/transform.py')
-rw-r--r-- | fatcat_scholar/transform.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py index 3a7102a..7264540 100644 --- a/fatcat_scholar/transform.py +++ b/fatcat_scholar/transform.py @@ -1,18 +1,18 @@ -import sys import argparse import datetime +import sys import xml.etree.ElementTree import xml.etree.ElementTree as ET -from typing import List, Dict, Optional, Any, Sequence +from typing import Any, Dict, List, Optional, Sequence import sentry_sdk -from fatcat_openapi_client import ReleaseEntity, FileEntity, WebcaptureEntity +from fatcat_openapi_client import FileEntity, ReleaseEntity, WebcaptureEntity from fatcat_scholar.api_entities import * -from fatcat_scholar.schema import * -from fatcat_scholar.config import settings, GIT_REVISION +from fatcat_scholar.config import GIT_REVISION, settings from fatcat_scholar.grobid2json import teixml2json from fatcat_scholar.identifiers import clean_doi, clean_pmcid +from fatcat_scholar.schema import * MAX_BODY_CHARS = 512 * 1024 |