You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing this, however, will require a slightly more complicated solution, as that forward reference stops circular references between definitions. Furthermore, it seems we're still using the V1 compatibility layer from pydantic that is planned to be removed pydantic/pydantic#5165, so likely a better solution would be to stop pydantic v1 support.
Following issue python/cpython#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.
Fixing this, however, will require a slightly more complicated solution, as that forward reference stops circular references between definitions. Furthermore, it seems we're still using the V1 compatibility layer from pydantic that is planned to be removed pydantic/pydantic#5165, so likely a better solution would be to stop pydantic v1 support.
Inside pytest one can side-step for now as:
The text was updated successfully, but these errors were encountered: