Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 702800a

Browse files
macwilksrhinos
andauthored
Expose Client Config in SDK Main Class (#162)
* Expose Client Config in SDK Main Class * Version Bump --------- Co-authored-by: srhinos <[email protected]>
1 parent 3b8510f commit 702800a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

hatchet_sdk/hatchet.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ def rest(self):
201201
def listener(self):
202202
return self._client.listener
203203

204+
@property
205+
def config(self):
206+
return self._client.config
207+
208+
@property
209+
def tenant_id(self):
210+
return self._client.config.tenant_id
211+
204212
concurrency = staticmethod(concurrency)
205213

206214
workflow = staticmethod(workflow)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hatchet-sdk"
3-
version = "0.36.9"
3+
version = "0.36.10"
44
description = ""
55
authors = ["Alexander Belanger <[email protected]>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)