Martin Carlsson
11/04/2021, 1:34 PMop
within a job
.
I’m trying to follow this one
https://docs.dagster.io/concepts/io-management/unconnected-inputs#loading-a-built-in-dagster-type-from-config
But when I run dagit it still require me to add configs.
Actually, what I’m looking for is a way to have an op
that takes a parameter (a string), and then pass that parameter to the op
from a job
.Jordan W
11/04/2021, 1:53 PMMartin Carlsson
11/04/2021, 1:54 PMJordan W
11/04/2021, 1:54 PM@op(config_schema={"input_string": str})
def my_op(context):
in_string = context.op_config["input_string"]
Martin Carlsson
11/04/2021, 1:58 PMop
within the job
job
Jordan W
11/04/2021, 1:58 PMMartin Carlsson
11/04/2021, 2:00 PMJordan W
11/04/2021, 2:06 PMdaniel
11/04/2021, 2:16 PMMartin Carlsson
11/04/2021, 3:42 PMAlex Saltzman
11/09/2021, 4:17 PM