Skip to content

Commit 0bbe69d

Browse files
committed
wip
1 parent c4a742c commit 0bbe69d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyodata/model/builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pyodata.config as pyodata
77
import pyodata.exceptions as exceptions
88
import pyodata.model.elements as elements
9-
import pyodata.v2 as v2
9+
import pyodata.v2 as odata_v2
1010

1111

1212
ANNOTATION_NAMESPACES = {
@@ -44,7 +44,7 @@ def __init__(self, xml, config=None):
4444
self._xml = xml
4545

4646
if config is None:
47-
config = pyodata.Config(v2.ODataV2)
47+
config = pyodata.Config(odata_v2.ODataV2)
4848
self._config = config
4949

5050
# pylint: disable=missing-docstring
@@ -140,7 +140,7 @@ def schema_from_xml(metadata_xml, namespaces=None):
140140
meta = MetadataBuilder(
141141
metadata_xml,
142142
config=pyodata.Config(
143-
v2.ODataV2,
143+
odata_v2.ODataV2,
144144
xml_namespaces=namespaces,
145145
))
146146

0 commit comments

Comments
 (0)