Skip to content

Commit 9d9daca

Browse files
committed
fixed recursive import
1 parent 2abb233 commit 9d9daca

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/dwcahandler/dwca/__init__.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,6 @@ class Defaults:
186186
default_factory=lambda: {'LF': '\r\n', '\\t': '\t', '\\n': '\n'})
187187

188188

189-
from dwcahandler.dwca.dwca_meta import (MetaDwCA, MetaElementAttributes,
190-
MetaElementInfo, MetaElementTypes,
191-
get_meta_class_row_type)
192-
# Imports at end of file to allow classes to be used
193-
from dwcahandler.dwca.terms import NsPrefix, Terms
194-
195-
196189
@dataclass
197190
class ContentData:
198191
"""A class describing the content data used for core and extension.
@@ -231,4 +224,9 @@ def add_data(self, other_csv_file_type: ContentData):
231224
from dwcahandler.dwca.base_dwca import BaseDwca
232225
from dwcahandler.dwca.core_dwca import DfContent, Dwca
233226
from dwcahandler.dwca.dwca_factory import DwcaHandler
227+
from dwcahandler.dwca.dwca_meta import (MetaDwCA, MetaElementAttributes,
228+
MetaElementInfo, MetaElementTypes,
229+
get_meta_class_row_type)
234230
from dwcahandler.dwca.eml import Eml
231+
# Imports at end of file to allow classes to be used
232+
from dwcahandler.dwca.terms import NsPrefix, Terms

0 commit comments

Comments
 (0)