https://dagster.io/ logo
#ask-community
Title
# ask-community
g

Gatsby Lee

05/19/2022, 7:19 PM
is it possible to require at least one value for a list config? I’d like to require at least one value for the
models_to_include
Copy code
@op(
    config_schema={
        "models_to_include": Field(
            [str],
            description="List of Models to include. e.g) 'my_dbt_model+', 'path.to.models', 'tag:nightly'",
        ),
    },
)
🤖 1
j

johann

05/19/2022, 8:36 PM
g

Gatsby Lee

05/19/2022, 9:51 PM
@johann ic. Thank you.