feldera 0.38.0__py3-none-any.whl → 0.40.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.

@@ -103,8 +103,8 @@ class FelderaClient:
103
103
  return p
104
104
  elif status not in wait:
105
105
  # error handling for SQL compilation errors
106
- if isinstance(status, dict):
107
- sql_errors = status.get("SqlError")
106
+ if status == "SqlError":
107
+ sql_errors = p.program_error["sql_compilation"]["messages"]
108
108
  if sql_errors:
109
109
  err_msg = f"Pipeline {name} failed to compile:\n"
110
110
  for sql_error in sql_errors:
feldera/rest/pipeline.py CHANGED
@@ -55,6 +55,7 @@ class Pipeline:
55
55
  )
56
56
  self.program_status: Optional[str] = None
57
57
  self.program_status_since: Optional[str] = None
58
+ self.program_error: Optional[dict] = None
58
59
 
59
60
  @classmethod
60
61
  def from_dict(cls, d: Mapping[str, Any]):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: feldera
3
- Version: 0.38.0
3
+ Version: 0.40.0
4
4
  Summary: The feldera python client
5
5
  Author-email: Abhinav <abhinav.gyawali@feldera.com>
6
6
  License: MIT
@@ -10,11 +10,11 @@ feldera/rest/__init__.py,sha256=Eg-EKUU3RSTDcdxTR_7wNDnCly8VpXEzsZCQUmf-y2M,308
10
10
  feldera/rest/_httprequests.py,sha256=e22YbpzOzy7MGo7hk9MOU7ZRTj3F314grY0Ygr-_goI,6636
11
11
  feldera/rest/config.py,sha256=DYzZKngDEhouTEwqVFd-rDrBN9tWqsU07Jl_BTT4mXs,1008
12
12
  feldera/rest/errors.py,sha256=b4i2JjrbSmej7jdko_FL8UeXklLKenSipwMT80jowaM,1720
13
- feldera/rest/feldera_client.py,sha256=fGwczGCOG7sow9Av9qMggskgLUUiXzd1Tc9K-2PydTA,20786
14
- feldera/rest/pipeline.py,sha256=o6BFLL3DuurvAhneX1LH7mLjbvX3dn4lCXziYRciUI4,2788
13
+ feldera/rest/feldera_client.py,sha256=rCTc3wUijjaYzqcnEMFl4PxNO5pkqzfWZN8zl0h7RnU,20806
14
+ feldera/rest/pipeline.py,sha256=a1lx-64SYak5mHX5yKElVijdfaAt5sDYVhVIXCJ97QQ,2839
15
15
  feldera/rest/sql_table.py,sha256=qrw-YwMzx5T81zDefNO1KOx7EyypFz1vPwGBzSUB7kc,652
16
16
  feldera/rest/sql_view.py,sha256=hN12mPM0mvwLCIPYywpb12s9Hd2Ws31IlTMXPriMisw,644
17
- feldera-0.38.0.dist-info/METADATA,sha256=5I1OChJnFC2FrG3qtmL9QaM0Q4xowg2oh7b43c_2dvk,2582
18
- feldera-0.38.0.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
19
- feldera-0.38.0.dist-info/top_level.txt,sha256=fB6yTqrQiO6RCbY1xP2T_mpPoTjDFtJvkJJodiee7d0,8
20
- feldera-0.38.0.dist-info/RECORD,,
17
+ feldera-0.40.0.dist-info/METADATA,sha256=_iySy1N5IGAXP466FkroTQ5ygaD-n-BCquBtB2nIgqA,2582
18
+ feldera-0.40.0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
19
+ feldera-0.40.0.dist-info/top_level.txt,sha256=fB6yTqrQiO6RCbY1xP2T_mpPoTjDFtJvkJJodiee7d0,8
20
+ feldera-0.40.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.1)
2
+ Generator: setuptools (76.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5