Skip to content

Commit fe89c30

Browse files
committed
fix: prevent circular import
1 parent 7a1b0de commit fe89c30

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

SPARQLWrapper/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
format.
77
88
"""
9-
from .SmartWrapper import SPARQLWrapper2
10-
from .sparql_dataframe import get_sparql_dataframe
11-
from .Wrapper import (
9+
__version__ = "2.0.1a0"
10+
"""The version of SPARQLWrapper"""
11+
12+
__agent__: str = f"sparqlwrapper {__version__} (rdflib.github.io/sparqlwrapper)"
13+
14+
from .SmartWrapper import SPARQLWrapper2 # noqa: E402
15+
from .sparql_dataframe import get_sparql_dataframe # noqa: E402
16+
from .Wrapper import ( # noqa: E402
1217
ASK,
1318
BASIC,
1419
CONSTRUCT,
@@ -34,11 +39,6 @@
3439
SPARQLWrapper,
3540
)
3641

37-
__version__ = "2.0.1a0"
38-
"""The version of SPARQLWrapper"""
39-
40-
__agent__: str = f"sparqlwrapper {__version__} (rdflib.github.io/sparqlwrapper)"
41-
4242
__all__ = [
4343
"SPARQLWrapper2",
4444
"get_sparql_dataframe",

0 commit comments

Comments
 (0)