<#2852 [Core feature] Use fast_package in pyflyte ...
# flytekit
a
#2852 [Core feature] Use fast_package in pyflyte run Issue created by pingsutw Motivation: Why do you think this is important? Currently, pyflyte run use register_script, and it has some limitations. such as 1. Failed to run the workflow on the remote cluster if workflow script imports other files because pyflyte run only uploads a single script to blob store. 2. It can't register a LaunchPlan. now, it will only register tasks and workflows. We can add a new flag
--pkg
in the
pyflyte run
, and use
fast_package
to register the entire package (directory) if people use this flag. Goal: What should the final outcome look like, ideally?
pyflyte run --remote --pkg example.py wf
Use
pkg
plag to fast register the entire package. Otherwise, register a single script by default. Describe alternatives you've considered Replace
register_script
with fast_package Propose: Link/Inline OR Additional context No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte