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

Slackbot

12/21/2022, 2:18 PM
This message was deleted.
m

Matthew Cloney

12/21/2022, 5:52 PM
A little more information - The only way this runs successfully is if I register the workflow with
pyflyte register development/workflows/example.py
(no project or domain), which then I can see in the Task definition in the UI has
--dest-dir /root
instead of
--dest-dir development
.
k

Ketan (kumare3)

12/21/2022, 7:09 PM
sorry we dont follow
m

Matthew Cloney

12/21/2022, 7:10 PM
Sorry, deleted my original comment. Figured it out - was super confused that in
pyflyte
-d
is actually the short flag for both
--domain
and
--destination-dir
- it was getting applied to the latter (value was
development
) which was causing the workflow to fail.
k

Ketan (kumare3)

12/21/2022, 7:11 PM
ohh no
i am not sure why click allows this
m

Matthew Cloney

12/21/2022, 7:11 PM
Yeah I wanted to do a PR
k

Ketan (kumare3)

12/21/2022, 7:11 PM
please do it
😄
❤️
m

Matthew Cloney

12/21/2022, 7:11 PM
That was 12 hours I'll never get back lol
k

Ketan (kumare3)

12/21/2022, 7:11 PM
OMG
I am so sorry
m

Matthew Cloney

12/21/2022, 7:12 PM
lol no worries! Will create a PR to turn the short flag for
--destination-dir
into
-D
- does that sound ok?