datamodel-code-generator
datamodel-code-generator copied to clipboard
Python 3.13 deprecates forward references
Following issue https://github.com/python/cpython/issues/118418 is no longer recommended to wrap pydantic definitions behind future annotations here https://github.com/argoproj-labs/hera/blob/main/src/hera/events/models/io/argoproj/workflow/v1alpha1.py#L4. This now raises a deprecation warning.
Initially reported at https://github.com/argoproj-labs/hera/issues/1308#issuecomment-2619323331