`pyflyte` vs `flytectl` question; is it possible t...
# flyte-support
h
pyflyte
vs
flytectl
question; is it possible to package and register from a
flyte-package.tgz
as two separate steps, all within
pyflyte
? Or is it necessary to pass the
flyte-package.tgz
file to flytectl after packaging in
pyflyte
?
h
@hallowed-rain-91612, you're looking for `pyflyte register`: https://docs.flyte.org/projects/flytekit/en/latest/design/clis.html#pyflyte-register
gratitude thank you 1
👍 1
h
Thanks for the help! But I’m not sure that is quite what I’m looking for - I want to package flyte code locally (i.e. maybe produce a
flyte_package.tgz
) and register on a separate machine all within the python sdk.
h
oh, I see! Sorry for the confusion. Yeah, we don't have a
pyflyte
command equivalent for
flytectl register files
. Any special reason for not installing
flytectl
? We have a deprecated command in a separate cli called
flyte-cli
that we've marked for deprecation (but haven't removed yet) that has a command called
register-files
that does what you want (you'll need the protobuf files, not the compressed file). That could be ported over to
pyflyte
very easily. Can you open a github issue? Maybe contribute to it. :)
164 Views