feldera 0.38.0__tar.gz → 0.40.0__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.

Potentially problematic release.


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

Files changed (29) hide show
  1. {feldera-0.38.0 → feldera-0.40.0}/PKG-INFO +1 -1
  2. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/feldera_client.py +2 -2
  3. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/pipeline.py +1 -0
  4. {feldera-0.38.0 → feldera-0.40.0}/feldera.egg-info/PKG-INFO +1 -1
  5. {feldera-0.38.0 → feldera-0.40.0}/pyproject.toml +10 -1
  6. {feldera-0.38.0 → feldera-0.40.0}/tests/test_pipeline.py +1 -0
  7. {feldera-0.38.0 → feldera-0.40.0}/README.md +0 -0
  8. {feldera-0.38.0 → feldera-0.40.0}/feldera/__init__.py +0 -0
  9. {feldera-0.38.0 → feldera-0.40.0}/feldera/_callback_runner.py +0 -0
  10. {feldera-0.38.0 → feldera-0.40.0}/feldera/_helpers.py +0 -0
  11. {feldera-0.38.0 → feldera-0.40.0}/feldera/enums.py +0 -0
  12. {feldera-0.38.0 → feldera-0.40.0}/feldera/output_handler.py +0 -0
  13. {feldera-0.38.0 → feldera-0.40.0}/feldera/pipeline.py +0 -0
  14. {feldera-0.38.0 → feldera-0.40.0}/feldera/pipeline_builder.py +0 -0
  15. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/__init__.py +0 -0
  16. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/_httprequests.py +0 -0
  17. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/config.py +0 -0
  18. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/errors.py +0 -0
  19. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/sql_table.py +0 -0
  20. {feldera-0.38.0 → feldera-0.40.0}/feldera/rest/sql_view.py +0 -0
  21. {feldera-0.38.0 → feldera-0.40.0}/feldera/runtime_config.py +0 -0
  22. {feldera-0.38.0 → feldera-0.40.0}/feldera.egg-info/SOURCES.txt +0 -0
  23. {feldera-0.38.0 → feldera-0.40.0}/feldera.egg-info/dependency_links.txt +0 -0
  24. {feldera-0.38.0 → feldera-0.40.0}/feldera.egg-info/requires.txt +0 -0
  25. {feldera-0.38.0 → feldera-0.40.0}/feldera.egg-info/top_level.txt +0 -0
  26. {feldera-0.38.0 → feldera-0.40.0}/setup.cfg +0 -0
  27. {feldera-0.38.0 → feldera-0.40.0}/tests/test_pipeline_builder.py +0 -0
  28. {feldera-0.38.0 → feldera-0.40.0}/tests/test_udf.py +0 -0
  29. {feldera-0.38.0 → feldera-0.40.0}/tests/test_variant.py +0 -0
@@ -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
@@ -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:
@@ -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
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
  name = "feldera"
7
7
  readme = "README.md"
8
8
  description = "The feldera python client"
9
- version = "0.38.0"
9
+ version = "0.40.0"
10
10
  license = { text = "MIT" }
11
11
  requires-python = ">=3.10"
12
12
  authors = [
@@ -35,3 +35,12 @@ Homepage = "https://www.feldera.com"
35
35
  Documentation = "https://docs.feldera.com/python"
36
36
  Repository = "https://github.com/feldera/feldera"
37
37
  Issues = "https://github.com/feldera/feldera/issues"
38
+
39
+ [tool.uv]
40
+ dev-dependencies = [
41
+ "kafka-python-ng==2.2.2",
42
+ "pytest-timeout>=2.3.1",
43
+ "pytest>=8.3.5",
44
+ "sphinx-rtd-theme==2.0.0",
45
+ "sphinx==7.3.7",
46
+ ]
@@ -15,6 +15,7 @@ class TestPipeline(unittest.TestCase):
15
15
  def test_delete_all_pipelines(self):
16
16
  pipelines = TEST_CLIENT.pipelines()
17
17
  for pipeline in pipelines:
18
+ TEST_CLIENT.shutdown_pipeline(pipeline.name)
18
19
  TEST_CLIENT.delete_pipeline(pipeline.name)
19
20
 
20
21
  def test_create_pipeline(
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes