You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
within yaml specify any attribute with the value as shown below. Note the quotes, some of them are two single quotes.
ENV: '{{ var.value.get(''ENVIRONMENT'', ''no-mans-land'') }}'
I am also looking at how to access params though, which is typically as
DAG(params={...}), however specifying these with in yaml does not resolve.
YAML
params:
key: value
comes out as below when printing ... print(vars(context.get('dag')))
I have a use case where I am accessing Airflow's variable using Variable.get(). How can I achieve this in yaml file.
Also, how can I access parameters (params.app_name, params.namespace etc) which I am passing via REST API as follows:
{ "conf": { "app_name":"app namet", "region":"", "namespace": "", "default_path": "", } }
The text was updated successfully, but these errors were encountered: