Skip to content

Commit dfcffe0

Browse files
committed
wip
1 parent fe5ad1c commit dfcffe0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyodata/model/build_functions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# pylint: disable=cyclic-import
1313
# When using `import xxx as yyy` it is not a problem and we need this dependency
14-
import pyodata.v4 as v4
14+
import pyodata.v4 as odata_v4
1515

1616

1717
def modlog():
@@ -187,9 +187,9 @@ def build_entity_set(config, entity_set_node):
187187
req_filter = elements.sap_attribute_get_bool(entity_set_node, 'requires-filter', False)
188188
label = elements.sap_attribute_get_string(entity_set_node, 'label')
189189

190-
if config.odata_version == v4.ODataV4:
191-
return v4.v4_elements.EntitySet(name, et_info, addressable, creatable, updatable, deletable, searchable,
192-
countable, pageable, topable, req_filter, label, nav_prop_bins)
190+
if config.odata_version == odata_v4.ODataV4:
191+
return odata_v4.v4_elements.EntitySet(name, et_info, addressable, creatable, updatable, deletable, searchable,
192+
countable, pageable, topable, req_filter, label, nav_prop_bins)
193193

194194
return elements.EntitySet(name, et_info, addressable, creatable, updatable, deletable, searchable, countable,
195195
pageable, topable, req_filter, label)

0 commit comments

Comments
 (0)