Dagster allows io managers to access asset definition metadata from the io manager context. However, it does not validate that the metadata provided in the asset definition meets the needs of the metadata that is accessed by the io manager. Therefore, it is possible to define asset definition metadata insufficient for the io manager to successfully run, leading to a runtime error.
Given that the io manager used for an asset may not fully be in control of the asset writer, one way to avoid preventable runtime errors is to validate the asset definition while parsing the Definition, similar to how resource configurations are validated.
Ideas of implementation
Validate the asset definition while parsing the Definition, similar to how resource configurations are validated.
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
What's the use case?
Dagster allows io managers to access asset definition metadata from the io manager context. However, it does not validate that the metadata provided in the asset definition meets the needs of the metadata that is accessed by the io manager. Therefore, it is possible to define asset definition metadata insufficient for the io manager to successfully run, leading to a runtime error.
Given that the io manager used for an asset may not fully be in control of the asset writer, one way to avoid preventable runtime errors is to validate the asset definition while parsing the Definition, similar to how resource configurations are validated.
Ideas of implementation
Validate the asset definition while parsing the Definition, similar to how resource configurations are validated.
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.