File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed
Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -150,9 +150,10 @@ def mock_invitations_multiple_pages(self):
150150class TestUserManagementBase (UserManagementFixtures ):
151151 @pytest .fixture (autouse = True )
152152 def setup (self , sync_client_configuration_and_http_client_for_test ):
153- client_configuration , http_client = (
154- sync_client_configuration_and_http_client_for_test
155- )
153+ (
154+ client_configuration ,
155+ http_client ,
156+ ) = sync_client_configuration_and_http_client_for_test
156157 self .http_client = http_client
157158 self .user_management = UserManagement (
158159 http_client = self .http_client , client_configuration = client_configuration
@@ -329,7 +330,7 @@ def test_authorization_url_has_expected_query_params_with_screen_hint(self):
329330 connection_id = connection_id ,
330331 screen_hint = screen_hint ,
331332 redirect_uri = redirect_uri ,
332- provider = "authkit"
333+ provider = "authkit" ,
333334 )
334335
335336 parsed_url = urlparse (authorization_url )
@@ -340,7 +341,7 @@ def test_authorization_url_has_expected_query_params_with_screen_hint(self):
340341 "redirect_uri" : redirect_uri ,
341342 "connection_id" : connection_id ,
342343 "response_type" : RESPONSE_TYPE_CODE ,
343- "provider" : "authkit"
344+ "provider" : "authkit" ,
344345 }
345346
346347 def test_get_jwks_url (self ):
Original file line number Diff line number Diff line change 11from typing import Literal
22
3- ScreenHintType = Literal [
4- "sign-up" , "sign-in"
5- ]
3+ ScreenHintType = Literal ["sign-up" , "sign-in" ]
Original file line number Diff line number Diff line change 4848from workos .types .user_management .user_management_provider_type import (
4949 UserManagementProviderType ,
5050)
51- from workos .types .user_management .screen_hint import (
52- ScreenHintType
53- )
51+ from workos .types .user_management .screen_hint import ScreenHintType
5452from workos .typing .sync_or_async import SyncOrAsync
5553from workos .utils .http_client import AsyncHTTPClient , SyncHTTPClient
5654from workos .utils .pagination_order import PaginationOrder
@@ -419,7 +417,8 @@ def _authenticate_with(
419417 self ,
420418 payload : AuthenticateWithParameters ,
421419 response_model : Type [AuthenticationResponseType ],
422- ) -> SyncOrAsync [AuthenticationResponseType ]: ...
420+ ) -> SyncOrAsync [AuthenticationResponseType ]:
421+ ...
423422
424423 def authenticate_with_password (
425424 self ,
You can’t perform that action at this time.
0 commit comments