From 2944c46c53f4a5b6e8694aa60c5f16070ba5961e Mon Sep 17 00:00:00 2001 From: Bruno Rocha Date: Thu, 1 Oct 2020 17:00:29 -0300 Subject: 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. --- fatcat_scholar/transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fatcat_scholar/transform.py') 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 -- cgit v1.2.3