diff options
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 |