-
Quick Flytekit question. but when i try to run How was this converted during actual execution? Is there another way to parse this to native python type?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
An So you can run Basically |
Beta Was this translation helpful? Give feedback.
An
input.pb
is aLiteralMap
so just follow this pattern since this is basically what the entrypoint does when a task runs for real.https://github.com/flyteorg/flytekit/blob/3106c775fcc7425d38290062b5ab47a368fd448a/flytekit/bin/entrypoint.py#L102
So you can run
pyflyte-execute
locally - just pass the inputs as path on your local filesystem and outputs as another directory location, and also pass a raw output prefix on the local filesystem. Then see howdispatch_execute
handles it.Basically
pyflyte-execute
getsinputs.pb
and parses it to give to the task.@wild-endeavor
@kumare3