diff --git a/gotrue/types.py b/gotrue/types.py index 1b407c2b..1f09a3f1 100644 --- a/gotrue/types.py +++ b/gotrue/types.py @@ -673,7 +673,7 @@ class DecodedJWTDict(TypedDict): ]: try: # pydantic > 2 - model.rebuild_model() + model.model_rebuild() except AttributeError: # pydantic < 2 model.update_forward_refs()