micromegas 0.1.6__py3-none-any.whl → 0.1.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.
micromegas/client.py CHANGED
@@ -145,7 +145,7 @@ class Client:
145
145
  except cbor2.CBORDecodeEOF:
146
146
  break
147
147
 
148
- def create_or_update_partitions(
148
+ def materialize_partitions(
149
149
  self, view_set_name, view_instance_id, begin, end, partition_delta_seconds
150
150
  ):
151
151
  args = {
@@ -155,19 +155,7 @@ class Client:
155
155
  "end": time.format_datetime(end),
156
156
  "partition_delta_seconds": partition_delta_seconds,
157
157
  }
158
- self.__stream_request("create_or_update_partitions", args)
159
-
160
- def merge_partitions(
161
- self, view_set_name, view_instance_id, begin, end, partition_delta_seconds
162
- ):
163
- args = {
164
- "view_set_name": view_set_name,
165
- "view_instance_id": view_instance_id,
166
- "begin": time.format_datetime(begin),
167
- "end": time.format_datetime(end),
168
- "partition_delta_seconds": partition_delta_seconds,
169
- }
170
- self.__stream_request("merge_partitions", args)
158
+ self.__stream_request("materialize_partitions", args)
171
159
 
172
160
  def retire_partitions(
173
161
  self, view_set_name, view_instance_id, begin, end, partition_delta_seconds
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: micromegas
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Python analytics client for https://github.com/madesroches/micromegas/
5
5
  Author: Marc-Antoine Desroches
6
6
  Author-email: madesroches@gmail.com
@@ -16,6 +16,7 @@ Requires-Dist: protobuf (>=5.27.1,<6.0.0)
16
16
  Requires-Dist: pyarrow (>=16.0.0,<17.0.0)
17
17
  Requires-Dist: requests (>=2.31.0,<3.0.0)
18
18
  Requires-Dist: tabulate (>=0.9.0,<0.10.0)
19
+ Requires-Dist: tqdm (>=4.66.5,<5.0.0)
19
20
  Description-Content-Type: text/markdown
20
21
 
21
22
  # Micromegas
@@ -1,5 +1,5 @@
1
1
  micromegas/__init__.py,sha256=E_j3LFxMk9rSMJunwDCi_90NsRHm1fKwjj_6KGMYCjQ,246
2
- micromegas/client.py,sha256=M-LrQu9wHaJiYz-1TOM06O7Smd-R4EuE_KeZDS94eoA,5973
2
+ micromegas/client.py,sha256=2ejIRukZiJp6Q8YncK9dJtaazXX1s5TKNaKzndRxswk,5509
3
3
  micromegas/perfetto.py,sha256=yuIe5iKvca61aWMBQNziSGM-DHcOEsiobtKx2SsNQ3E,7829
4
4
  micromegas/request.py,sha256=NV0urom5P3_P2q94gX51hxW_Fnrp_DDRorsP3mUb5NM,941
5
5
  micromegas/thirdparty/perfetto/protos/perfetto/common/android_energy_consumer_descriptor_pb2.py,sha256=l8QNXqnB-mJIkuFr2s1YoLQXHm3G-ZcOGp_OW_hQ0TE,1887
@@ -208,6 +208,6 @@ micromegas/thirdparty/perfetto/protos/perfetto/trace/translation/translation_tab
208
208
  micromegas/thirdparty/perfetto/protos/perfetto/trace/trigger_pb2.py,sha256=We7Yi8o3cEcrSNxY1zLUUO6tEWnD36C2f3O_s8_qv0I,1435
209
209
  micromegas/thirdparty/perfetto/protos/perfetto/trace/ui_state_pb2.py,sha256=Af-SXwhroNhRXMrtw6e2eU1liCImMRxSdmkt_AuSHf8,1752
210
210
  micromegas/time.py,sha256=teMWk_hniW2jI7MWJ2w0HuckdTiebdr35-snUz_3cfU,911
211
- micromegas-0.1.6.dist-info/METADATA,sha256=yZywCrAstjiI57lhWaTOTaCHE3MfqlCuaG0bASmgcCM,839
212
- micromegas-0.1.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
213
- micromegas-0.1.6.dist-info/RECORD,,
211
+ micromegas-0.1.7.dist-info/METADATA,sha256=c7Dyj3APPSt59QLCF8id6Hcp6rjUDT_owecyrweWhAM,877
212
+ micromegas-0.1.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
213
+ micromegas-0.1.7.dist-info/RECORD,,