datamodel-code-generator icon indicating copy to clipboard operation
datamodel-code-generator copied to clipboard

Python 3.13 deprecates forward references

Open gaborbernat opened this issue 9 months ago • 0 comments

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

gaborbernat avatar Jan 28 '25 18:01 gaborbernat