Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
a936ba5a
Unverified
Commit
a936ba5a
authored
Jan 13, 2026
by
Neal Vaidya
Committed by
GitHub
Jan 14, 2026
Browse files
fix: read store_kv arg from env when using decorator (#5421)
Signed-off-by:
Neal Vaidya
<
nealv@nvidia.com
>
parent
2430fcac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/bindings/python/src/dynamo/runtime/__init__.py
lib/bindings/python/src/dynamo/runtime/__init__.py
+2
-1
No files found.
lib/bindings/python/src/dynamo/runtime/__init__.py
View file @
a936ba5a
...
@@ -36,7 +36,8 @@ def dynamo_worker(enable_nats: bool = True):
...
@@ -36,7 +36,8 @@ def dynamo_worker(enable_nats: bool = True):
async
def
wrapper
(
*
args
,
**
kwargs
):
async
def
wrapper
(
*
args
,
**
kwargs
):
loop
=
asyncio
.
get_running_loop
()
loop
=
asyncio
.
get_running_loop
()
request_plane
=
os
.
environ
.
get
(
"DYN_REQUEST_PLANE"
,
"tcp"
)
request_plane
=
os
.
environ
.
get
(
"DYN_REQUEST_PLANE"
,
"tcp"
)
runtime
=
DistributedRuntime
(
loop
,
"etcd"
,
request_plane
,
enable_nats
)
store_kv
=
os
.
environ
.
get
(
"DYN_STORE_KV"
,
"etcd"
)
runtime
=
DistributedRuntime
(
loop
,
store_kv
,
request_plane
,
enable_nats
)
await
func
(
runtime
,
*
args
,
**
kwargs
)
await
func
(
runtime
,
*
args
,
**
kwargs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment