Qwame
11/02/2022, 9:02 PM{
"env": "ID_NUMBER"
}
However, it is returned as a string. Is there a way to read this as an integer? My env file has this
export ID_NUMBER=5
alex
11/02/2022, 9:12 PMIntSource
config type or StringSource
or something hand rolled?Qwame
11/02/2022, 9:12 PMalex
11/02/2022, 9:19 PMint()
Qwame
11/02/2022, 9:21 PMdbt_cloud_resource
dbt_cloud_resource.configured("account_id": {'env': 'ACCOUNT_ID'})
alex
11/02/2022, 9:24 PMint
but should be changed to IntSource
to support the pattern you are trying
https://github.com/dagster-io/dagster/blame/master/python_modules/libraries/dagster-dbt/dagster_dbt/cloud/resources.py#L479Qwame
11/02/2022, 9:25 PM