vastdb 0.0.5.6__py3-none-any.whl → 0.0.5.7__py3-none-any.whl
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.
- vastdb/api.py +4 -1
- {vastdb-0.0.5.6.dist-info → vastdb-0.0.5.7.dist-info}/METADATA +1 -1
- {vastdb-0.0.5.6.dist-info → vastdb-0.0.5.7.dist-info}/RECORD +6 -6
- {vastdb-0.0.5.6.dist-info → vastdb-0.0.5.7.dist-info}/LICENSE +0 -0
- {vastdb-0.0.5.6.dist-info → vastdb-0.0.5.7.dist-info}/WHEEL +0 -0
- {vastdb-0.0.5.6.dist-info → vastdb-0.0.5.7.dist-info}/top_level.txt +0 -0
vastdb/api.py
CHANGED
|
@@ -1007,7 +1007,8 @@ class VastdbApi:
|
|
|
1007
1007
|
|
|
1008
1008
|
if topic_partitions > 0:
|
|
1009
1009
|
table_props = self.encode_table_props(src_timestamp=src_timestamp, retention_in_mins=retention_in_mins, past_threshold_ts=past_threshold_ts, future_threshold_ts=future_threshold_ts)
|
|
1010
|
-
|
|
1010
|
+
if table_props is not None:
|
|
1011
|
+
url_params['table-props'] = table_props
|
|
1011
1012
|
|
|
1012
1013
|
res = self.session.post(self._api_prefix(bucket=bucket, schema=schema, table=name, command="table", url_params=url_params),
|
|
1013
1014
|
data=serialized_schema, headers=headers)
|
|
@@ -1075,6 +1076,8 @@ class VastdbApi:
|
|
|
1075
1076
|
|
|
1076
1077
|
if src_timestamp is not None or retention_in_mins is not None or past_threshold_ts is not None or future_threshold_ts is not None:
|
|
1077
1078
|
table_properties = self.encode_table_props(src_timestamp=src_timestamp, retention_in_mins=retention_in_mins, past_threshold_ts=past_threshold_ts, future_threshold_ts=future_threshold_ts)
|
|
1079
|
+
if table_properties is None:
|
|
1080
|
+
table_properties = ""
|
|
1078
1081
|
|
|
1079
1082
|
properties = builder.CreateString(table_properties)
|
|
1080
1083
|
tabular_alter_table.Start(builder)
|
|
@@ -148,9 +148,9 @@ vast_flatbuf/tabular/ObjectDetails.py,sha256=qW0WtbkCYYE_L-Kw6VNRDCLYaRm5lKvTbLN
|
|
|
148
148
|
vast_flatbuf/tabular/S3File.py,sha256=KC9c2oS5-JXwTTriUVFdjOvRG0B54Cq9kviSDZY3NI0,4450
|
|
149
149
|
vast_flatbuf/tabular/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
150
|
vastdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
151
|
-
vastdb/api.py,sha256=
|
|
152
|
-
vastdb-0.0.5.
|
|
153
|
-
vastdb-0.0.5.
|
|
154
|
-
vastdb-0.0.5.
|
|
155
|
-
vastdb-0.0.5.
|
|
156
|
-
vastdb-0.0.5.
|
|
151
|
+
vastdb/api.py,sha256=NgXpHkclN6mV1uR3Jl7ksIFbODE8MF9JVMws_GPious,126722
|
|
152
|
+
vastdb-0.0.5.7.dist-info/LICENSE,sha256=obffan7LYrq7hLHNrY7vHcn2pKUTBUYXMKu-VOAvDxU,11333
|
|
153
|
+
vastdb-0.0.5.7.dist-info/METADATA,sha256=qEXKBdRpLG4juHrG7NwyAmmwv1YxLX4zEcrIesJi_tE,1349
|
|
154
|
+
vastdb-0.0.5.7.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
155
|
+
vastdb-0.0.5.7.dist-info/top_level.txt,sha256=Vsj2MKtlhPg0J4so64slQtnwjhgoPmJgcG-6YcVAwVc,20
|
|
156
|
+
vastdb-0.0.5.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|