File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
src/auth/src/supabase_auth Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -819,7 +819,9 @@ class SignOutOptions(TypedDict):
819819 scope : NotRequired [SignOutScope ]
820820
821821
822- @with_config (extra = "allow" )
822+ @with_config (
823+ ConfigDict (extra = "allow" )
824+ ) # pydantic <2.7.0 with_config does not accept kwargs
823825class JWTHeader (TypedDict ):
824826 alg : Literal ["RS256" , "ES256" , "HS256" ]
825827 typ : str
@@ -838,7 +840,9 @@ class RequiredClaims(TypedDict):
838840 session_id : str
839841
840842
841- @with_config (extra = "allow" )
843+ @with_config (
844+ ConfigDict (extra = "allow" )
845+ ) # pydantic <2.7.0 with_config does not accept kwargs
842846class JWTPayload (TypedDict , total = False ):
843847 iss : str
844848 sub : str
@@ -857,7 +861,9 @@ class ClaimsResponse(TypedDict):
857861 signature : bytes
858862
859863
860- @with_config (extra = "allow" )
864+ @with_config (
865+ ConfigDict (extra = "allow" )
866+ ) # pydantic <2.7.0 with_config does not accept kwargs
861867class JWK (TypedDict , total = False ):
862868 kty : Literal ["RSA" , "EC" , "oct" ]
863869 key_ops : List [str ]
You can’t perform that action at this time.
0 commit comments