Hello guys. Is there some other option to pass --o...
# ask-the-community
p
Hello guys. Is there some other option to pass --outputLocationPrefix? I know that this can be used for "flytectl register file ..." and can be set in web UI for workflows registered by pyflyte register. But maybe it can be passed somehow in code? Maybe as some environment variable etc?
s
Do you want to set the value in your code? May I know why?
p
Yes, the place where i want to store file can be different, depends on task results.
s
How about you use FlyteRemote to register your tasks and workflows? https://docs.flyte.org/projects/flytekit/en/latest/design/control_plane.html#executing-entities
You can fetch the execution, inspect the outputs and set
raw_data_prefix
based on that.
118 Views