flytekit.extras.tasks.shell.OutputLocation#
- class flytekit.extras.tasks.shell.OutputLocation(var, var_type, location)[source]#
- Parameters:
var (str) – str The name of the output variable
var_type (Type) – typing.Type The type of output variable
location (PathLike | str) – os.PathLike The location where this output variable will be written to or a regex that accepts input vars and generates the path. Of the form
"{{ .inputs.v }}.tmp.md"
. This example for a given input v, at path /tmp/abc.csv will resolve to /tmp/abc.csv.tmp.md
Methods
Attributes
- var: str
- var_type: Type