@@ -142,10 +142,7 @@ def set_cookie_response_mutator(
142142 path_type : Literal ["refresh_token_path" , "access_token_path" ],
143143 request : BaseRequest ,
144144):
145- def mutator (
146- response : BaseResponse ,
147- user_context : Dict [str , Any ],
148- ):
145+ def mutator (response : BaseResponse , user_context : Dict [str , Any ]):
149146 return _set_cookie (
150147 response , config , key , value , expires , path_type , request , user_context
151148 )
@@ -315,7 +312,10 @@ def token_response_mutator(
315312 transfer_method : TokenTransferMethod ,
316313 request : BaseRequest ,
317314):
318- def mutator (response : BaseResponse , user_context : Dict [str , Any ],):
315+ def mutator (
316+ response : BaseResponse ,
317+ user_context : Dict [str , Any ],
318+ ):
319319 _set_token (
320320 response ,
321321 config ,
@@ -343,7 +343,8 @@ def access_token_mutator(
343343 request : BaseRequest ,
344344):
345345 def mutator (
346- response : BaseResponse , user_context : Dict [str , Any ],
346+ response : BaseResponse ,
347+ user_context : Dict [str , Any ],
347348 ):
348349 _set_access_token_in_response (
349350 response ,
0 commit comments