feldera 0.35.0__py3-none-any.whl → 0.37.0__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.

Potentially problematic release.


This version of feldera might be problematic. Click here for more details.

feldera/runtime_config.py CHANGED
@@ -37,6 +37,24 @@ class Resources:
37
37
  self.__dict__.update(config)
38
38
 
39
39
 
40
+ class Storage:
41
+ """Storage configuration for a pipeline.
42
+
43
+ :param min_storage_bytes: The minimum estimated number of bytes in a batch of data to write it to storage.
44
+ """
45
+
46
+ def __init__(
47
+ self,
48
+ config: Optional[Mapping[str, Any]] = None,
49
+ min_storage_bytes: Optional[int] = None,
50
+ ):
51
+ config = config or {}
52
+
53
+ self.min_storage_bytes = min_storage_bytes
54
+
55
+ self.__dict__.update(config)
56
+
57
+
40
58
  class RuntimeConfig:
41
59
  """
42
60
  Runtime configuration class to define the configuration for a pipeline.
@@ -45,13 +63,12 @@ class RuntimeConfig:
45
63
  def __init__(
46
64
  self,
47
65
  workers: Optional[int] = None,
48
- storage: Optional[bool] = False,
66
+ storage: Optional[Storage] = None,
49
67
  tracing: Optional[bool] = False,
50
68
  tracing_endpoint_jaeger: Optional[str] = "",
51
69
  cpu_profiler: bool = True,
52
70
  max_buffering_delay_usecs: int = 0,
53
71
  min_batch_size_records: int = 0,
54
- min_storage_bytes: Optional[int] = None,
55
72
  clock_resolution_usecs: Optional[int] = None,
56
73
  resources: Optional[Resources] = None,
57
74
  ):
@@ -62,7 +79,6 @@ class RuntimeConfig:
62
79
  self.cpu_profiler = cpu_profiler
63
80
  self.max_buffering_delay_usecs = max_buffering_delay_usecs
64
81
  self.min_batch_size_records = min_batch_size_records
65
- self.min_storage_bytes = min_storage_bytes
66
82
  self.clock_resolution_usecs = clock_resolution_usecs
67
83
  if resources is not None:
68
84
  self.resources = resources.__dict__
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: feldera
3
- Version: 0.35.0
3
+ Version: 0.37.0
4
4
  Summary: The feldera python client
5
5
  Author-email: Abhinav <abhinav.gyawali@feldera.com>
6
6
  License: MIT
@@ -5,7 +5,7 @@ feldera/enums.py,sha256=tI48tTF65AU5ZLem_IDnC5ycPVMKMv591lW2T__U4C8,7281
5
5
  feldera/output_handler.py,sha256=64J3ljhOaKIhxdjOKYi-BUz_HnMwROfmN8eE-btYygU,1930
6
6
  feldera/pipeline.py,sha256=yDU5vSRk-2I5P1VeV_Ix5rCDLbjNIkIYEP_gA2vWSIU,29705
7
7
  feldera/pipeline_builder.py,sha256=4rmklRZ0-otvTUb-HTESfNsJopEK-E2jxpJXiYlKpps,3664
8
- feldera/runtime_config.py,sha256=PfYXsrLrs5Duty-7x3dGDf2uvp5hwp3Yb5n3bRQtLVk,2898
8
+ feldera/runtime_config.py,sha256=hlIm2QTEqnUy7ucqS1iQN23ElR5d5aMwGvv_PxjHk8I,3243
9
9
  feldera/rest/__init__.py,sha256=Eg-EKUU3RSTDcdxTR_7wNDnCly8VpXEzsZCQUmf-y2M,308
10
10
  feldera/rest/_httprequests.py,sha256=kMW0yG1a0Mdcxnc6ShXUiL5zpBZZyGkhB5X3RGyaEUE,6269
11
11
  feldera/rest/config.py,sha256=84Lj2QX6SYNZJdBfrCHPMh29Nj4MY7nRB-uddytx_ok,795
@@ -14,7 +14,7 @@ feldera/rest/feldera_client.py,sha256=kTNN3DaxQ5gnCpTYAggpdlMpBKJJ15bYh_WXI6FzGz
14
14
  feldera/rest/pipeline.py,sha256=o6BFLL3DuurvAhneX1LH7mLjbvX3dn4lCXziYRciUI4,2788
15
15
  feldera/rest/sql_table.py,sha256=qrw-YwMzx5T81zDefNO1KOx7EyypFz1vPwGBzSUB7kc,652
16
16
  feldera/rest/sql_view.py,sha256=hN12mPM0mvwLCIPYywpb12s9Hd2Ws31IlTMXPriMisw,644
17
- feldera-0.35.0.dist-info/METADATA,sha256=pWUY9VXkSWW8b9swhtESmr3RI4fnEgeNS-MfbCs7LBA,2582
18
- feldera-0.35.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
19
- feldera-0.35.0.dist-info/top_level.txt,sha256=fB6yTqrQiO6RCbY1xP2T_mpPoTjDFtJvkJJodiee7d0,8
20
- feldera-0.35.0.dist-info/RECORD,,
17
+ feldera-0.37.0.dist-info/METADATA,sha256=5eHpuM-hUX1BTgjgsE712foC5vknMpgTrJc6BaQfU7o,2582
18
+ feldera-0.37.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
19
+ feldera-0.37.0.dist-info/top_level.txt,sha256=fB6yTqrQiO6RCbY1xP2T_mpPoTjDFtJvkJJodiee7d0,8
20
+ feldera-0.37.0.dist-info/RECORD,,