bolkedebruin commented on PR #51471: URL: https://github.com/apache/airflow/pull/51471#issuecomment-2949414062
Ah I dont think this approach is going to work for Enums. You need to inherit from enum to create an enum (sigh). That results in security challenges. So either we need a typing hint at deserialization time so we can use that, or just store the value but check for a serializer and use that if available, or not try to serialize at all without a serializer. The last option takes all the fun of using enums away. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
