pyetp 0.0.30__tar.gz → 0.0.32__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyetp
3
- Version: 0.0.30
3
+ Version: 0.0.32
4
4
  Summary: Interface with OSDU RDDMS using ETP protocol
5
5
  Author: Adam Cheng
6
6
  Author-email: 52572642+adamchengtkc@users.noreply.github.com
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Requires-Dist: async-lru (>=2.0.4,<3.0.0)
16
16
  Requires-Dist: async-timeout (>=5.0,<6.0) ; python_version < "3.11"
17
- Requires-Dist: etpproto (>=1.0.5,<2.0.0)
17
+ Requires-Dist: etpproto (<1.0.7)
18
18
  Requires-Dist: lxml (>=4.9.4,<6.0)
19
19
  Requires-Dist: numpy (>=1.26.3,<2.0.0)
20
20
  Requires-Dist: pyarrow (>=15.0.0,<16.0.0)
@@ -310,7 +310,7 @@ def create_resqml_property(prop_title, continuous, indexable_element, uns, epc,
310
310
  title=uns.citation.title,
311
311
  uuid=uns.uuid,
312
312
  ),
313
- property_kind= propertykind0 if pre_existing_propertykind is True else ro.LocalPropertyKind(
313
+ property_kind= propertykind0 if pre_existing_propertykind is not None else ro.LocalPropertyKind(
314
314
  local_property_kind=ro.DataObjectReference(
315
315
  content_type=f"application/x-resqml+xml;version={schema_version};type={get_data_object_type(propertykind0)}",
316
316
  title=propertykind0.citation.title,
@@ -339,7 +339,7 @@ def create_resqml_property(prop_title, continuous, indexable_element, uns, epc,
339
339
  title=uns.citation.title,
340
340
  uuid=uns.uuid,
341
341
  ),
342
- property_kind=propertykind0 if pre_existing_propertykind is True else ro.LocalPropertyKind(
342
+ property_kind=propertykind0 if pre_existing_propertykind is not None else ro.LocalPropertyKind(
343
343
  local_property_kind=ro.DataObjectReference(
344
344
  content_type=f"application/x-resqml+xml;version={schema_version};type={get_data_object_type(propertykind0)}",
345
345
  title=propertykind0.citation.title,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyetp"
3
- version = "0.0.30"
3
+ version = "0.0.32"
4
4
  description = "Interface with OSDU RDDMS using ETP protocol"
5
5
  authors = ["Adam Cheng <52572642+adamchengtkc@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -20,7 +20,7 @@ pydantic = "^1.10"
20
20
  redis = "^5.0.1"
21
21
  async-lru = "^2.0.4"
22
22
  async-timeout = { version = "^5.0", python = "<3.11" }
23
- etpproto = "^1.0.5"
23
+ etpproto = "<1.0.7"
24
24
  resqpy = ">4.16.0, <5.2"
25
25
 
26
26
  pyarrow = "^15.0.0" # added to fix pandas deprecated warning in xtgeo
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes