https://flyte.org logo
#ask-the-community
Title
# ask-the-community
m

Muhammad Haritsah Mukhlis

11/29/2023, 3:19 AM
Hi guys, is it possible to trigger flyte workflow remotely from other service like a python code? I have a workflow that reads configuration files using hydra and I want to trigger the workflow from a separate python code
k

Ketan (kumare3)

11/29/2023, 3:33 AM
Yup Refer to flytekit.remote
You can even register via apis everything happens over an api
m

Muhammad Haritsah Mukhlis

11/29/2023, 3:34 AM
is it possible to override the arguments? The python command to run it locally is
python3 runner.py experiment=something arg1=value1 arg2=value2
Do you have any examples for flytekit remote oand register via api?
c

Cameron Smith

12/01/2023, 3:51 PM
@Muhammad Haritsah Mukhlis we were working on a similar issue. I continued the discussion here (since it appears when you search for
hydra
against the flyte repo) https://github.com/flyteorg/flyte/discussions/3397#discussioncomment-7730928 .
m

Muhammad Haritsah Mukhlis

12/01/2023, 3:53 PM
Grwat info, thank you @Cameron Smith
2 Views