<#2514 [Docs] Better coverage of pyflyte's local b...
# flyte-github
a
#2514 [Docs] Better coverage of pyflyte's local behavior Issue created by marc-union Description We need deeper coverage in the documentation for pyflyte's behavior for localized behavior. From a flyte-org thread in Slack:
The Getting Started example executes a workflow locally using the default Docker image in the sandbox server, right? But I thought that the code was required to be inside the container so that Flyte could run it. Does pyflyte run an implicit fast serialization? If not, what is it doing?
@freezing-airport-6809 's (abridged) answer:
pyflyte
talks now (using flyteremote) to Flyteadmin to get a signedURL which is bound to the compressed archive of the code.
This is where
pyflyte
uploads the code (we wanted to make things easier for the user)
You can supply an alternate image, if not, it uses a default image with only flytekit and pandas/numpy installed in it.
References: https://flyte-org.slack.com/archives/CNMKCU6FR/p1652968591652399 https://docs.flyte.org/en/latest/getting_started/index.html#executing-workflows-on-a-flyte-cluster

https://youtu.be/mJMf94h0LA8▾

Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte