dominus-sdk-python 4.6.1__py3-none-any.whl → 4.6.2__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.
dominus/__init__.py CHANGED
@@ -165,7 +165,7 @@ from .errors import (
165
165
  TimeoutError as DominusTimeoutError,
166
166
  )
167
167
 
168
- __version__ = "4.6.1"
168
+ __version__ = "4.6.2"
169
169
  __all__ = [
170
170
  # Main SDK instance
171
171
  "dominus",
@@ -104,6 +104,29 @@ class RecipesNamespace:
104
104
  timeout=timeout,
105
105
  )
106
106
 
107
+ async def deprecate(
108
+ self,
109
+ *,
110
+ type: str,
111
+ tier: str,
112
+ name: str,
113
+ version: int,
114
+ reason: Optional[str] = None,
115
+ timeout: float = 30.0,
116
+ ) -> Dict[str, Any]:
117
+ """Mark the current head recipe version deprecated. ``POST /api/recipe/recipes/deprecate``."""
118
+ return await self._post(
119
+ "/api/recipe/recipes/deprecate",
120
+ _compact({
121
+ "type": type,
122
+ "tier": tier,
123
+ "name": name,
124
+ "version": version,
125
+ "reason": reason,
126
+ }),
127
+ timeout=timeout,
128
+ )
129
+
107
130
  async def list(
108
131
  self,
109
132
  *,
dominus/start.py CHANGED
@@ -186,7 +186,7 @@ class Dominus:
186
186
  from .namespaces.stash import StashNamespace
187
187
  self.stash = StashNamespace(self)
188
188
 
189
- # Recipe worker (kernel-tier; hosts browser-recipe-v1 today, workflow + envoy + others later)
189
+ # Recipe worker (kernel-tier; hosts browser-recipe today, workflow + envoy + others later)
190
190
  from .namespaces.recipes import RecipesNamespace
191
191
  self.recipes = RecipesNamespace(self)
192
192
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dominus-sdk-python
3
- Version: 4.6.1
3
+ Version: 4.6.2
4
4
  Summary: Python SDK for the Dominus gateway-first platform
5
5
  Author-email: CareBridge Systems <dev@carebridge.io>
6
6
  License: Proprietary
@@ -1,6 +1,6 @@
1
- dominus/__init__.py,sha256=Ym-D5x2dUZm7H-ehVo53Q1jndMhLse57pwF3eYjEQ2g,7070
1
+ dominus/__init__.py,sha256=fXMmrG8nn-vuCCSCbWfUYjZTWuTgPPgSlBERSxiba5s,7070
2
2
  dominus/errors.py,sha256=NthcR-o1Q1nQsE3ZSHStcW_RdZ8LQ06mPDSenY1txgM,8547
3
- dominus/start.py,sha256=nwj6mV5eC87N1hTJgCBjP0cuDqq9NMffH4WTAaNDXEM,49842
3
+ dominus/start.py,sha256=Dn6uN2z0KkiJmM8rOLU20JlslZ-xhOLQb2hcJOzHEYo,49839
4
4
  dominus/config/__init__.py,sha256=nvLLNh4dM_MCqcfF3XFS2NnVn44q0RYHEfAPP-2G5To,434
5
5
  dominus/config/endpoints.py,sha256=IFioVY3jQ5Mqy65L6rNbEXyPUfYTaXRQkfyGdKv33A8,4140
6
6
  dominus/helpers/__init__.py,sha256=cyoBvw1QJugtGt0gYitIz1yxOaMmBa-wMXqbh-fi4PU,61
@@ -29,7 +29,7 @@ dominus/namespaces/jobs.py,sha256=YdiTzajUWtpdhk_jJhOlF0EeFegaRQFiszGSsFLs-Dc,54
29
29
  dominus/namespaces/logs.py,sha256=uM3yDU2YsqEqOt9eg1I9JyHZdHrFxSQahbknTLhmw_U,22102
30
30
  dominus/namespaces/portal.py,sha256=vf0Vu_12yS4_fto7sVCau5vQtghml7Wh7J2-XJnO2zA,15595
31
31
  dominus/namespaces/processor.py,sha256=gk-vvWfBTU9LkV34OaB4VdftArhTE67tfhlUtY0YglI,2678
32
- dominus/namespaces/recipes.py,sha256=SN2Jn9VBZEp_CUdL-5d8V5KyVXCZjRDAFADKdvI6Hes,5408
32
+ dominus/namespaces/recipes.py,sha256=xqvm-aKjLy4RrFZFUc_cvr0Q7QelHd7r0OowcU_yny4,6051
33
33
  dominus/namespaces/redis.py,sha256=1joYhewLGdN4-OCYJu5rvhsF5yORUUfVtBrgjzLKAzs,19337
34
34
  dominus/namespaces/secrets.py,sha256=od8AKgENwW6U-kVfIX3DSphXKeJA6XC-SxbGqsxhhUk,6253
35
35
  dominus/namespaces/secure.py,sha256=9idGY5R6k7b-JM1SAF_1Gt-YV5OempyxFBflgLJieLo,7168
@@ -38,7 +38,7 @@ dominus/namespaces/sync.py,sha256=mGwMNwc_iWoKgS94n1staPdsKBHNvliMG7omokl7Qmk,21
38
38
  dominus/namespaces/warden.py,sha256=ebbCeBJJwK9uALEj2aDbvWJ5HTlOXOpXJOwzokH1cso,1139
39
39
  dominus/namespaces/workflow.py,sha256=1LMzlYoVImtdpnuenJDtpx7dB2wdNVE3tSBFn-ZAyJA,47204
40
40
  dominus/services/__init__.py,sha256=LQl5sx6DHhX1xCN3MRoUgffxqwm3Mfm525hijyFods8,43
41
- dominus_sdk_python-4.6.1.dist-info/METADATA,sha256=-3b8MrOsYstguh7d0Tvuiei6srjY4HrnUKlCtiYZNa0,8900
42
- dominus_sdk_python-4.6.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
43
- dominus_sdk_python-4.6.1.dist-info/top_level.txt,sha256=515zxMIbX0DpheRbjvNqKIt_AFqdFjX41jtyp_SqLf4,8
44
- dominus_sdk_python-4.6.1.dist-info/RECORD,,
41
+ dominus_sdk_python-4.6.2.dist-info/METADATA,sha256=nfp-o802nj5qms1_1exjBlmGebXLKAwYiOSiHKO4_zM,8900
42
+ dominus_sdk_python-4.6.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
43
+ dominus_sdk_python-4.6.2.dist-info/top_level.txt,sha256=515zxMIbX0DpheRbjvNqKIt_AFqdFjX41jtyp_SqLf4,8
44
+ dominus_sdk_python-4.6.2.dist-info/RECORD,,