dirigent-client 0.18.1__tar.gz → 0.18.2__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.
Files changed (38) hide show
  1. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/PKG-INFO +2 -2
  2. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/pyproject.toml +2 -2
  3. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/pyproject.toml.orig +2 -2
  4. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/alerts.py +2 -3
  5. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/alerts.py +6 -3
  6. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/LICENSE +0 -0
  7. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/README.md +0 -0
  8. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/__init__.py +0 -0
  9. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/client.py +0 -0
  10. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/enums.py +0 -0
  11. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/errors.py +0 -0
  12. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/messages.py +0 -0
  13. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/py.typed +0 -0
  14. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/__init__.py +0 -0
  15. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/auth.py +0 -0
  16. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/base.py +0 -0
  17. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/blocks.py +0 -0
  18. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/connections.py +0 -0
  19. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/examples.py +0 -0
  20. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/pipelines.py +0 -0
  21. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/runs.py +0 -0
  22. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/schedules.py +0 -0
  23. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/schemas.py +0 -0
  24. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/system.py +0 -0
  25. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/trigger_documents.py +0 -0
  26. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/resources/webhooks.py +0 -0
  27. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/__init__.py +0 -0
  28. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/auth.py +0 -0
  29. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/catalog.py +0 -0
  30. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/common.py +0 -0
  31. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/connections.py +0 -0
  32. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/examples.py +0 -0
  33. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/pipelines.py +0 -0
  34. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/runs.py +0 -0
  35. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/schemas.py +0 -0
  36. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/system.py +0 -0
  37. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/schemas/triggers.py +0 -0
  38. {dirigent_client-0.18.1 → dirigent_client-0.18.2}/src/dirigent_client/transport.py +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dirigent-client
3
- Version: 0.18.1
3
+ Version: 0.18.2
4
4
  Summary: The dirigent API contract: typed wire schemas and an async Python client.
5
5
  License-Expression: LicenseRef-Proprietary
6
6
  License-File: LICENSE
7
7
  Classifier: Programming Language :: Python :: 3
8
8
  Classifier: Programming Language :: Python :: 3.13
9
- Requires-Dist: dirigent-common==0.18.1
9
+ Requires-Dist: dirigent-common==0.18.2
10
10
  Requires-Dist: httpx2>=2.12.0
11
11
  Requires-Dist: pydantic>=2.13.5
12
12
  Requires-Dist: pyyaml>=6.0.3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dirigent-client"
3
- version = "0.18.1"
3
+ version = "0.18.2"
4
4
  description = "The dirigent API contract: typed wire schemas and an async Python client."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -11,7 +11,7 @@ classifiers = [
11
11
  "Programming Language :: Python :: 3.13",
12
12
  ]
13
13
  dependencies = [
14
- "dirigent-common==0.18.1",
14
+ "dirigent-common==0.18.2",
15
15
  "httpx2>=2.12.0",
16
16
  "pydantic>=2.13.5",
17
17
  "pyyaml>=6.0.3",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dirigent-client"
3
- version = "0.18.1"
3
+ version = "0.18.2"
4
4
  description = "The dirigent API contract: typed wire schemas and an async Python client."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -11,7 +11,7 @@ classifiers = [
11
11
  "Programming Language :: Python :: 3.13",
12
12
  ]
13
13
  dependencies = [
14
- "dirigent-common==0.18.1",
14
+ "dirigent-common==0.18.2",
15
15
  "httpx2>=2.12.0",
16
16
  "pydantic>=2.13.5",
17
17
  "pyyaml>=6.0.3",
@@ -85,13 +85,12 @@ class Alerts(Resource):
85
85
  async def test(
86
86
  self,
87
87
  *,
88
- notifier: str,
89
88
  connection: str | None = None,
90
89
  subject: str | None = None,
91
90
  body: str | None = None,
92
91
  ) -> TestQueued:
93
- """Queue one message through a channel, on the same path a real alert takes."""
94
- declared = TestRequest(notifier=notifier, connection=connection)
92
+ """Queue one message through the target a rule would name, on the path a real alert takes."""
93
+ declared = TestRequest(connection=connection)
95
94
  payload = declared.model_copy(
96
95
  update=query(subject=subject, body=body),
97
96
  )
@@ -23,6 +23,10 @@ CONNECTION_HELP = (
23
23
  "The connection this rule delivers through, whose kind names the sender; absent delivers to the process log."
24
24
  )
25
25
 
26
+ TEST_CONNECTION_HELP = (
27
+ "The connection this message delivers through, whose kind names the sender; absent delivers to the process log."
28
+ )
29
+
26
30
 
27
31
  class AlertRuleIn(BaseModel):
28
32
  """An alert rule as a caller declares it."""
@@ -101,10 +105,9 @@ class NotificationOut(WireModel):
101
105
 
102
106
 
103
107
  class TestRequest(BaseModel):
104
- """Which channel to send a test message through, and what to say."""
108
+ """Which target to send a test message through, and what to say."""
105
109
 
106
- notifier: str
107
- connection: str | None = None
110
+ connection: str | None = Field(default=None, description=TEST_CONNECTION_HELP)
108
111
  subject: str = "dirigent test alert"
109
112
  body: str = "This is a test message sent through the notifier surface."
110
113