acoustic-carpenter-78188
12/22/2022, 6:15 PM-d development
for example, sometimes the value gets applied to the --destination-dir
instead of / as well as the --domain
. To avoid this, short flags should be unique.
Expected behavior
Expected -d
to be applied only to the --domain
when running pyflyte
and not the --destination-dir
.
Additional context to reproduce
1. Run pyflyte register -p flytesnacks -d development my_workflow.py
2. Launch workflow via Flyte console (or other)
3. Note that in the Task Details section, the value for --dest-dir
is no longer the default /root
but development
4. Workflow crashes with the Destination path is required to download distribution and it should be a directory
error (fast_registration.download_distribution()
)
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
12/22/2022, 6:15 PM