diff options
author | Bruno Rocha <rochacbruno@gmail.com> | 2020-10-01 17:00:29 -0300 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2020-10-05 13:50:02 -0700 |
commit | 2944c46c53f4a5b6e8694aa60c5f16070ba5961e (patch) | |
tree | 0159a1165d473a78101e19caa289ae9159b040e9 /fatcat_scholar/transform.py | |
parent | d3557db18c81da57fd67323068811a1afe86769f (diff) | |
download | fatcat-scholar-2944c46c53f4a5b6e8694aa60c5f16070ba5961e.tar.gz fatcat-scholar-2944c46c53f4a5b6e8694aa60c5f16070ba5961e.zip |
Upgrade Dynaconf to 3+
In dynaconf 3+ it is no more recommended to use `from dynaconf import
settings` now the recommendation is to create your own instance of the
settings object based on Dynaconf class.
Diffstat (limited to 'fatcat_scholar/transform.py')
-rw-r--r-- | fatcat_scholar/transform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py index af794e6..04922ba 100644 --- a/fatcat_scholar/transform.py +++ b/fatcat_scholar/transform.py @@ -3,11 +3,11 @@ import argparse import datetime from typing import List, Dict, Optional, Any, Sequence -from dynaconf import settings from fatcat_openapi_client import ReleaseEntity, FileEntity from fatcat_scholar.api_entities import * from fatcat_scholar.schema import * +from fatcat_scholar.config import settings from fatcat_scholar.grobid2json import teixml2json |