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
edc6fdea
"lib/bindings/python/vscode:/vscode.git/clone" did not exist on "b273eda2f456643ef5e18dbe95ae55b53473c057"
Unverified
Commit
edc6fdea
authored
May 28, 2025
by
Kris Hung
Committed by
GitHub
May 28, 2025
Browse files
fix: Fix async_on_start syntax (#1243)
parent
1b1e089a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/multimodal/components/encode_worker.py
examples/multimodal/components/encode_worker.py
+2
-2
No files found.
examples/multimodal/components/encode_worker.py
View file @
edc6fdea
...
@@ -148,8 +148,8 @@ class VllmEncodeWorker:
...
@@ -148,8 +148,8 @@ class VllmEncodeWorker:
request_id
=
request
.
request_id
,
request_id
=
request
.
request_id
,
).
model_dump_json
()
).
model_dump_json
()
@
async_on_start
()
@
async_on_start
async
def
on_star
t
(
self
):
async
def
async_ini
t
(
self
):
logger
.
info
(
"Startup started."
)
logger
.
info
(
"Startup started."
)
# Create and initialize a dynamo connector for this worker.
# Create and initialize a dynamo connector for this worker.
# We'll needs this to move data between this worker and remote workers efficiently.
# We'll needs this to move data between this worker and remote workers efficiently.
...
...
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