Join Slack
Powered by
is there a rationale behind this decision when han...
# ask-community
f
Fabio Picchi
08/22/2023, 8:37 PM
is there a rationale behind this decision when handling serialization of a dagster Resource?
https://github.com/dagster-io/dagster/blob/6149c01ff8e317775b39e480288b89d88fe0eeb[…]hon_modules/dagster/dagster/_config/pythonic_config/__init__.py
This conflicts with the use_enum_value pydantic configuration:
https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.use_enum_values
b
ben
08/23/2023, 5:13 PM
Hi Fabio, this decision was made to correspond with the way that enums were addressed in the old Dagster config types system (which used enum names).
ben
08/23/2023, 5:14 PM
I’ve put up a PR which adds support for this flag as a workaround:
https://github.com/dagster-io/dagster/pull/16042
f
Fabio Picchi
08/24/2023, 5:44 PM
thanks for the swift response
@ben
!
Fabio Picchi
08/24/2023, 5:44 PM
that's great. Will help a lot in our workflow
Open in Slack
Previous
Next