great-expectations-cloud 20250724.0.dev0__py3-none-any.whl → 20260113.0.dev1__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 great-expectations-cloud might be problematic. Click here for more details.

Files changed (19) hide show
  1. great_expectations_cloud/agent/actions/agent_action.py +3 -3
  2. great_expectations_cloud/agent/actions/draft_datasource_config_action.py +2 -2
  3. great_expectations_cloud/agent/actions/generate_data_quality_check_expectations_action.py +47 -15
  4. great_expectations_cloud/agent/actions/list_asset_names.py +4 -5
  5. great_expectations_cloud/agent/actions/run_checkpoint.py +64 -3
  6. great_expectations_cloud/agent/actions/run_metric_list_action.py +3 -3
  7. great_expectations_cloud/agent/actions/run_scheduled_checkpoint.py +28 -5
  8. great_expectations_cloud/agent/actions/run_window_checkpoint.py +2 -4
  9. great_expectations_cloud/agent/actions/utils.py +13 -4
  10. great_expectations_cloud/agent/agent.py +259 -36
  11. great_expectations_cloud/agent/event_handler.py +8 -7
  12. great_expectations_cloud/agent/message_service/asyncio_rabbit_mq_client.py +33 -8
  13. great_expectations_cloud/agent/message_service/subscriber.py +4 -0
  14. great_expectations_cloud/agent/models.py +13 -0
  15. {great_expectations_cloud-20250724.0.dev0.dist-info → great_expectations_cloud-20260113.0.dev1.dist-info}/METADATA +7 -5
  16. {great_expectations_cloud-20250724.0.dev0.dist-info → great_expectations_cloud-20260113.0.dev1.dist-info}/RECORD +19 -19
  17. {great_expectations_cloud-20250724.0.dev0.dist-info → great_expectations_cloud-20260113.0.dev1.dist-info}/WHEEL +1 -1
  18. {great_expectations_cloud-20250724.0.dev0.dist-info → great_expectations_cloud-20260113.0.dev1.dist-info}/entry_points.txt +0 -0
  19. {great_expectations_cloud-20250724.0.dev0.dist-info → great_expectations_cloud-20260113.0.dev1.dist-info/licenses}/LICENSE +0 -0
@@ -37,6 +37,8 @@ class EventContext:
37
37
  can be removed from the queue.
38
38
  redeliver_message: async callable to signal that the broker should
39
39
  try to deliver this message again.
40
+ redelivered: True if RabbitMQ is redelivering this message (another
41
+ consumer failed to acknowledge it).
40
42
  """
41
43
 
42
44
  event: Event
@@ -44,6 +46,7 @@ class EventContext:
44
46
  processed_successfully: Callable[[], None]
45
47
  processed_with_failures: Callable[[], None]
46
48
  redeliver_message: Callable[[], Coroutine[OnMessageCallback, None, None]]
49
+ redelivered: bool = False
47
50
 
48
51
 
49
52
  class OnMessageCallback(Protocol):
@@ -142,6 +145,7 @@ class Subscriber:
142
145
  processed_successfully=ack_callback,
143
146
  processed_with_failures=nack_callback,
144
147
  redeliver_message=redeliver_message,
148
+ redelivered=payload.redelivered,
145
149
  )
146
150
 
147
151
  return on_message(event_context)
@@ -24,6 +24,18 @@ def all_subclasses(cls: type) -> list[type]:
24
24
  return all_sub_cls
25
25
 
26
26
 
27
+ class DomainContext(BaseModel):
28
+ """
29
+ Encapsulates domain-related context information.
30
+
31
+ This dataclass consolidates organization_id and workspace_id to reduce
32
+ parameter proliferation and improve code maintainability.
33
+ """
34
+
35
+ organization_id: UUID
36
+ workspace_id: UUID
37
+
38
+
27
39
  class AgentBaseExtraForbid(BaseModel):
28
40
  class Config:
29
41
  # 2024-03-04: ZEL-501 Strictly enforce models for handling outdated APIs
@@ -39,6 +51,7 @@ class AgentBaseExtraIgnore(BaseModel):
39
51
  class EventBase(AgentBaseExtraIgnore):
40
52
  type: str
41
53
  organization_id: Optional[UUID] = None # noqa: UP045
54
+ workspace_id: UUID
42
55
 
43
56
 
44
57
  class ScheduledEventBase(EventBase):
@@ -1,22 +1,22 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: great_expectations_cloud
3
- Version: 20250724.0.dev0
3
+ Version: 20260113.0.dev1
4
4
  Summary: Great Expectations Cloud
5
5
  License: Proprietary
6
+ License-File: LICENSE
6
7
  Author: The Great Expectations Team
7
8
  Author-email: team@greatexpectations.io
8
- Requires-Python: >=3.11,<3.12
9
+ Requires-Python: >=3.11.4,<3.12
9
10
  Classifier: Development Status :: 3 - Alpha
10
11
  Classifier: Intended Audience :: Developers
11
12
  Classifier: Intended Audience :: Science/Research
12
13
  Classifier: License :: Other/Proprietary License
13
14
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Topic :: Scientific/Engineering
16
16
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
17
17
  Classifier: Topic :: Software Development :: Quality Assurance
18
18
  Classifier: Topic :: Software Development :: Testing
19
- Requires-Dist: great-expectations[databricks,gx-redshift,postgresql,snowflake] (==1.5.6)
19
+ Requires-Dist: great-expectations[databricks,gx-redshift,mssql,postgresql,snowflake,trino] (==1.10.0)
20
20
  Requires-Dist: orjson (>=3.9.7,<4.0.0,!=3.9.10)
21
21
  Requires-Dist: packaging (>=21.3,<26.0)
22
22
  Requires-Dist: pika (>=1.3.1,<2.0.0)
@@ -127,6 +127,8 @@ The dependencies installed in our CI and the Docker build step are determined by
127
127
  poetry update great_expectations
128
128
  ```
129
129
 
130
+ **Note:** If `poetry update` does not find the latest version of `great_expectations`, you can manually update the version in `pyproject.toml`, and then update the lockfile using `poetry lock`.
131
+
130
132
  [To resolve and update all dependencies ...](https://python-poetry.org/docs/cli/#lock)
131
133
 
132
134
  ```console
@@ -1,34 +1,34 @@
1
1
  great_expectations_cloud/__init__.py,sha256=1mr5RDyA2N38eynvEfVbuYIbjFadeJfqZ-X9CrqYiVo,150
2
2
  great_expectations_cloud/agent/__init__.py,sha256=FqDFYbGefmNhwlvJwJbNovkwzny6mwaYH5LtTi6VlSU,464
3
3
  great_expectations_cloud/agent/actions/__init__.py,sha256=TYPe2j8EgaziXXgSLEdgjnbHKL56O6cQL1kjPnGbRFI,949
4
- great_expectations_cloud/agent/actions/agent_action.py,sha256=mGAovvT4CDaQlZaeNcz5tqfMIt6cul2anzxPwFrSxeA,1186
5
- great_expectations_cloud/agent/actions/draft_datasource_config_action.py,sha256=_v_yEPXZ3k8-lvdMCEPtrf6kegVYxnBo9UC0WoLaLwM,5117
6
- great_expectations_cloud/agent/actions/generate_data_quality_check_expectations_action.py,sha256=QobQfkMbO9x3DkRYbyFIzbV01iZqX2e0HTcKZl55SXw,22039
7
- great_expectations_cloud/agent/actions/list_asset_names.py,sha256=bDAYQtDbgDAOg8iu7HyGSTmBduhup7lLN0vGxoJZqN4,2510
8
- great_expectations_cloud/agent/actions/run_checkpoint.py,sha256=N2d07JDCG06kMve7yjPZQFlaGKoJw5dCbpKuBWw6Ssg,3751
9
- great_expectations_cloud/agent/actions/run_metric_list_action.py,sha256=tW64pNYJElkUmcd9baKllTSyR-NYyU-40QvMwSwwLqQ,3234
10
- great_expectations_cloud/agent/actions/run_scheduled_checkpoint.py,sha256=XMvv59izhzjSuw2YF7mlyNkeUQ3hxXj6G-ldAeSfl-s,2403
11
- great_expectations_cloud/agent/actions/run_window_checkpoint.py,sha256=khFmTSZ6W-MrInswgEHGrQAzVt-aelycurAMPbcLcLU,2264
4
+ great_expectations_cloud/agent/actions/agent_action.py,sha256=F9zOgVmNJ_V2RhRbDXNMjd46-QVNFN8Lp_bmPvh5cwU,1189
5
+ great_expectations_cloud/agent/actions/draft_datasource_config_action.py,sha256=NVN2GBSty-XvCW7pHDkLImHd3V0iJzpUNIh8rNGDuzs,5241
6
+ great_expectations_cloud/agent/actions/generate_data_quality_check_expectations_action.py,sha256=dhiy_lkcePDy45fEX0uhk-m89_aYKtV6P5jfd-Dcax8,23611
7
+ great_expectations_cloud/agent/actions/list_asset_names.py,sha256=pOL5ip8ZZJbZhDNSp44rjYkx93rKdf3U6f4fY-JLhvg,2576
8
+ great_expectations_cloud/agent/actions/run_checkpoint.py,sha256=xlDYX6BHvHr3loz74hu4ARq5VStJ7-QYf80GPi-PuTY,5697
9
+ great_expectations_cloud/agent/actions/run_metric_list_action.py,sha256=69nyR0vXjz_lKAHYczuEMQtbNIv0lf-DMiOBXmkwpuQ,3237
10
+ great_expectations_cloud/agent/actions/run_scheduled_checkpoint.py,sha256=33lp6F_J1asgBmaHoqLLDL8wRnBw9MEZlQ3bosGQkwk,3425
11
+ great_expectations_cloud/agent/actions/run_window_checkpoint.py,sha256=MCMbgY3dNUx546sNpXg5p3rCWNzDa6EQOUt20Nr5udo,2317
12
12
  great_expectations_cloud/agent/actions/unknown.py,sha256=mtWw9tDZqGZSiUWj7PtIlLFJ1dM-7AHBX3SO16-u2EM,739
13
- great_expectations_cloud/agent/actions/utils.py,sha256=DuUy6Ntsin0RIdgG2n1K85WJUATKHsqcCgtXKjr7scQ,1269
14
- great_expectations_cloud/agent/agent.py,sha256=Gd8gaamnh7Gw4uiW2-sVxbMaWdeNibHQR6LDryI_uVY,29761
13
+ great_expectations_cloud/agent/actions/utils.py,sha256=0lzeASN1TYWJ35-H-sCRkcPMHzWU05SzKIyTv0CzvA8,1665
14
+ great_expectations_cloud/agent/agent.py,sha256=ZBmKSyE07dKsazG_1noGA3wuDZ5sP18aPLEkS4DpGSM,40106
15
15
  great_expectations_cloud/agent/agent_warnings.py,sha256=9-xl_AI2V9Py4o7KzFOQjG3lYx-vZ36fq4w2iiPNiUw,362
16
16
  great_expectations_cloud/agent/cli.py,sha256=a_HmPxBMlVD59BEmkZnlbOOAFlezVMx9djZ2XIW-3W0,2885
17
17
  great_expectations_cloud/agent/config.py,sha256=c1BOr-TrxZnciWNRuu4atGtfRh-XSmwIS0osDCzQa04,1348
18
18
  great_expectations_cloud/agent/constants.py,sha256=SAEtcOwI-SxZiZSVoCFfEC5oCtYdgmyUmK7for_zg_Q,246
19
- great_expectations_cloud/agent/event_handler.py,sha256=kePpZ4EMIY0YWKeYH4W7lKY8C8OeER_Dkhwwadf3nTc,6069
19
+ great_expectations_cloud/agent/event_handler.py,sha256=wcvAM0i6pnIsWlYstnZ2ThpByJYCyKrRmh0solC02bk,6091
20
20
  great_expectations_cloud/agent/exceptions.py,sha256=XIDBVSmBfFpVQA5i9rZqEtORIdi5E4_lwup0jP90TUk,1506
21
21
  great_expectations_cloud/agent/message_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- great_expectations_cloud/agent/message_service/asyncio_rabbit_mq_client.py,sha256=B2EwgG_Qdm1s_xkxbGPQxdRBkDSuhkKyT6rGFpXuqQ0,12391
23
- great_expectations_cloud/agent/message_service/subscriber.py,sha256=K8szy9uM1MUBkMaMZt9o5ExnjqEn1hw6zYaH7pQkjoM,5975
24
- great_expectations_cloud/agent/models.py,sha256=yZEir-ZShLbyJ8DZxMYNAZmSzbpOSH5wGRKyPo1LcJU,9984
22
+ great_expectations_cloud/agent/message_service/asyncio_rabbit_mq_client.py,sha256=4MU5JqNYpANS7I7v76XXV_OE_UkNNmR9CS0yvvXuV_c,13511
23
+ great_expectations_cloud/agent/message_service/subscriber.py,sha256=ZEwwLaQe-yypYJWMkpTvRqEgzH7FbYH0-ean8LK1Qt8,6174
24
+ great_expectations_cloud/agent/models.py,sha256=jgCDUJRDdCrXoU3NzfaJXmL8Y9gUqR3cO14nMsXFUDA,10298
25
25
  great_expectations_cloud/agent/run.py,sha256=V33RLoB1PFmJ0h0RfHG4SB5lN_Za8tW2Dua6GUpN9yY,639
26
26
  great_expectations_cloud/agent/utils.py,sha256=3OvdcXeK1gk2oJgqG4jPvBRwlMCn8LioULW3YgRtj98,2950
27
27
  great_expectations_cloud/logging/README.md,sha256=vbwU689x8SkGjzoBYQzZOzAvh28fR0RCa1XY5WD-Dgs,1762
28
28
  great_expectations_cloud/logging/logging_cfg.py,sha256=W6mlm4_Z2bjzM5TuKmFg_WZor2XoJm4DAoLGaf2O__I,6579
29
29
  great_expectations_cloud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- great_expectations_cloud-20250724.0.dev0.dist-info/LICENSE,sha256=_JJnoX6N_OkrAwlCRizCwil0tIjDAy2TG3GiJ50sM6k,2084
31
- great_expectations_cloud-20250724.0.dev0.dist-info/METADATA,sha256=s7e6Qzskry0BjT7ExtVeyQG5Zub84ZOanMyJIL2XiqQ,12150
32
- great_expectations_cloud-20250724.0.dev0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
33
- great_expectations_cloud-20250724.0.dev0.dist-info/entry_points.txt,sha256=ofJgdeS2gSzxXLyCAjfNhIaN1wmSyR7EAMs5qhVaXE4,68
34
- great_expectations_cloud-20250724.0.dev0.dist-info/RECORD,,
30
+ great_expectations_cloud-20260113.0.dev1.dist-info/METADATA,sha256=KkEXIaxKzX7Zkpt6Yvm2Z-iIFNTWrltDgipxG7RZITs,12331
31
+ great_expectations_cloud-20260113.0.dev1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
32
+ great_expectations_cloud-20260113.0.dev1.dist-info/entry_points.txt,sha256=ofJgdeS2gSzxXLyCAjfNhIaN1wmSyR7EAMs5qhVaXE4,68
33
+ great_expectations_cloud-20260113.0.dev1.dist-info/licenses/LICENSE,sha256=_JJnoX6N_OkrAwlCRizCwil0tIjDAy2TG3GiJ50sM6k,2084
34
+ great_expectations_cloud-20260113.0.dev1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.1
2
+ Generator: poetry-core 2.2.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any