|
11 | 11 |
|
12 | 12 | # pylint: disable=cyclic-import
|
13 | 13 | # 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 |
15 | 15 |
|
16 | 16 |
|
17 | 17 | def modlog():
|
@@ -187,9 +187,9 @@ def build_entity_set(config, entity_set_node):
|
187 | 187 | req_filter = elements.sap_attribute_get_bool(entity_set_node, 'requires-filter', False)
|
188 | 188 | label = elements.sap_attribute_get_string(entity_set_node, 'label')
|
189 | 189 |
|
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) |
193 | 193 |
|
194 | 194 | return elements.EntitySet(name, et_info, addressable, creatable, updatable, deletable, searchable, countable,
|
195 | 195 | pageable, topable, req_filter, label)
|
|
0 commit comments