dbos 1.15.0a6__py3-none-any.whl → 1.15.0a8__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 dbos might be problematic. Click here for more details.

dbos/_dbos.py CHANGED
@@ -335,6 +335,8 @@ class DBOS:
335
335
  self._background_threads: List[threading.Thread] = []
336
336
  self.conductor_url: Optional[str] = conductor_url
337
337
  self.conductor_key: Optional[str] = conductor_key
338
+ if config.get("conductor_key"):
339
+ self.conductor_key = config.get("conductor_key")
338
340
  self.conductor_websocket: Optional[ConductorWebsocket] = None
339
341
  self._background_event_loop: BackgroundEventLoop = BackgroundEventLoop()
340
342
  self._active_workflows_set: set[str] = set()
dbos/_dbos_config.py CHANGED
@@ -36,6 +36,7 @@ class DBOSConfig(TypedDict, total=False):
36
36
  dbos_system_schema (str): Schema name for DBOS system tables. Defaults to "dbos".
37
37
  enable_otlp (bool): If True, enable built-in DBOS OTLP tracing and logging.
38
38
  system_database_engine (sa.Engine): A custom system database engine. If provided, DBOS will not create an engine but use this instead.
39
+ conductor_key (str): An API key for DBOS Conductor. Pass this in to connect your process to Conductor.
39
40
  """
40
41
 
41
42
  name: str
@@ -55,6 +56,7 @@ class DBOSConfig(TypedDict, total=False):
55
56
  dbos_system_schema: Optional[str]
56
57
  enable_otlp: Optional[bool]
57
58
  system_database_engine: Optional[sa.Engine]
59
+ conductor_key: Optional[str]
58
60
 
59
61
 
60
62
  class RuntimeConfig(TypedDict, total=False):
@@ -1,9 +1,26 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dbos
3
- Version: 1.15.0a6
3
+ Version: 1.15.0a8
4
4
  Summary: Ultra-lightweight durable execution in Python
5
5
  Author-Email: "DBOS, Inc." <contact@dbos.dev>
6
6
  License: MIT
7
+ Classifier: Development Status :: 5 - Production/Stable
8
+ Classifier: Programming Language :: Python
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3 :: Only
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: Information Technology
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Topic :: Internet
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Topic :: Database
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Framework :: AsyncIO
7
24
  Requires-Python: >=3.10
8
25
  Requires-Dist: pyyaml>=6.0.2
9
26
  Requires-Dist: python-dateutil>=2.9.0.post0
@@ -20,6 +37,12 @@ Description-Content-Type: text/markdown
20
37
 
21
38
  <div align="center">
22
39
 
40
+ [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/dbos-inc/dbos-transact-py/unit-test.yml?query=branch%3Amain)](https://github.com/dbos-inc/dbos-transact-py/actions/workflows/unit-test.yml)
41
+ [![PyPI release (latest SemVer)](https://img.shields.io/pypi/v/dbos.svg)](https://pypi.python.org/pypi/dbos)
42
+ [![Python Versions](https://img.shields.io/pypi/pyversions/dbos.svg)](https://pypi.python.org/pypi/dbos)
43
+ [![License (MIT)](https://img.shields.io/github/license/dbos-inc/dbos-transact-py.svg?v)](LICENSE)
44
+ [![Join Discord](https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white)](https://discord.com/invite/jsmC6pXGgX)
45
+
23
46
  # DBOS Transact: Lightweight Durable Workflows
24
47
 
25
48
  #### [Documentation](https://docs.dbos.dev/) &nbsp;&nbsp;•&nbsp;&nbsp; [Examples](https://docs.dbos.dev/examples) &nbsp;&nbsp;•&nbsp;&nbsp; [Github](https://github.com/dbos-inc) &nbsp;&nbsp;•&nbsp;&nbsp; [Discord](https://discord.com/invite/jsmC6pXGgX)
@@ -1,7 +1,7 @@
1
- dbos-1.15.0a6.dist-info/METADATA,sha256=zDqBOU1RunuC6aqSUT4vpD2X4xhrqglKUZo67RNlGTw,13021
2
- dbos-1.15.0a6.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
- dbos-1.15.0a6.dist-info/entry_points.txt,sha256=_QOQ3tVfEjtjBlr1jS4sHqHya9lI2aIEIWkz8dqYp14,58
4
- dbos-1.15.0a6.dist-info/licenses/LICENSE,sha256=VGZit_a5-kdw9WT6fY5jxAWVwGQzgLFyPWrcVVUhVNU,1067
1
+ dbos-1.15.0a8.dist-info/METADATA,sha256=UbWWUl6HXkJezlEsKWs9zCFqwv-_Qgpq0CndR6irs5A,14533
2
+ dbos-1.15.0a8.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
+ dbos-1.15.0a8.dist-info/entry_points.txt,sha256=_QOQ3tVfEjtjBlr1jS4sHqHya9lI2aIEIWkz8dqYp14,58
4
+ dbos-1.15.0a8.dist-info/licenses/LICENSE,sha256=VGZit_a5-kdw9WT6fY5jxAWVwGQzgLFyPWrcVVUhVNU,1067
5
5
  dbos/__init__.py,sha256=pT4BuNLDCrIQX27vQG8NlfxX6PZRU7r9miq4thJTszU,982
6
6
  dbos/__main__.py,sha256=G7Exn-MhGrVJVDbgNlpzhfh8WMX_72t3_oJaFT9Lmt8,653
7
7
  dbos/_admin_server.py,sha256=hubQJw5T8zGKCPNS6FQTXy8jQ8GTJxoYQaDTMlICl9k,16267
@@ -13,8 +13,8 @@ dbos/_conductor/protocol.py,sha256=q3rgLxINFtWFigdOONc-4gX4vn66UmMlJQD6Kj8LnL4,7
13
13
  dbos/_context.py,sha256=cJDxVbswTLXKE5MV4Hmg6gpIX3Dd5mBTG-4lmofWP9E,27668
14
14
  dbos/_core.py,sha256=13DNN_fpSIs42NquV80XsHV7yKwY_adKP03h_xhXok4,50493
15
15
  dbos/_croniter.py,sha256=XHAyUyibs_59sJQfSNWkP7rqQY6_XrlfuuCxk4jYqek,47559
16
- dbos/_dbos.py,sha256=X2HNrGnq5rVgK5WnsSSl8cwpWT4m4Y0C8e7B1MTGsNg,57324
17
- dbos/_dbos_config.py,sha256=JHogT0oUCxVJgd0TaQ_nQM1xDm4C1jOdIbSDou7q0P4,25004
16
+ dbos/_dbos.py,sha256=MbcJRiPmjpJlIIlPBvEULAjMAcBZDzTX19tyT92-w_Q,57425
17
+ dbos/_dbos_config.py,sha256=4vgPyy4NiojAOiw3BnjWwiwT1_Ju3ZhXqJQOKDXhsE4,25148
18
18
  dbos/_debouncer.py,sha256=9-9dlXKLRHSUSylprCw18r-7MAdFwD8-w0KkY-bEG_I,15281
19
19
  dbos/_debug.py,sha256=0MfgNqutCUhI4PEmmra9x7f3DiFE_0nscfUCHdLimEY,1415
20
20
  dbos/_docker_pg_helper.py,sha256=xySum4hTA8TVMBODoG19u4cXQAB1vCock-jwM2pnmSI,7791
@@ -56,4 +56,4 @@ dbos/cli/migration.py,sha256=zJnDPUBnil5XZXFxc01EbZ0Radw_y8wtDGZExgelAxc,3633
56
56
  dbos/dbos-config.schema.json,sha256=47wofTZ5jlFynec7bG0L369tAXbRQQ2euBxBXvg4m9c,1730
57
57
  dbos/py.typed,sha256=QfzXT1Ktfk3Rj84akygc7_42z0lRpCq0Ilh8OXI6Zas,44
58
58
  version/__init__.py,sha256=L4sNxecRuqdtSFdpUGX3TtBi9KL3k7YsZVIvv-fv9-A,1678
59
- dbos-1.15.0a6.dist-info/RECORD,,
59
+ dbos-1.15.0a8.dist-info/RECORD,,