Skip to content

Commit 3fcdbf9

Browse files
fix: reorder imports
1 parent e9bec1c commit 3fcdbf9

6 files changed

Lines changed: 4 additions & 10 deletions

File tree

src/auth0_server_python/auth_server/mfa_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from typing import Any, Optional
88

99
import httpx
10-
1110
from auth0_server_python.auth_schemes.bearer_auth import BearerAuth
1211
from auth0_server_python.auth_types import (
1312
AuthenticatorResponse,

src/auth0_server_python/auth_server/my_account_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from typing import Optional
33

44
import httpx
5-
65
from auth0_server_python.auth_schemes.bearer_auth import BearerAuth
76
from auth0_server_python.auth_types import (
87
CompleteConnectAccountRequest,

src/auth0_server_python/auth_server/server_client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111

1212
import httpx
1313
import jwt
14-
from authlib.integrations.base_client.errors import OAuthError
15-
from authlib.integrations.httpx_client import AsyncOAuth2Client
16-
from pydantic import ValidationError
17-
1814
from auth0_server_python.auth_server.mfa_client import MfaClient
1915
from auth0_server_python.auth_server.my_account_client import MyAccountClient
2016
from auth0_server_python.auth_types import (
@@ -54,6 +50,9 @@
5450
StartLinkUserError,
5551
)
5652
from auth0_server_python.utils import PKCE, URL, State
53+
from authlib.integrations.base_client.errors import OAuthError
54+
from authlib.integrations.httpx_client import AsyncOAuth2Client
55+
from pydantic import ValidationError
5756

5857
# Generic type for store options
5958
TStoreOptions = TypeVar('TStoreOptions')

src/auth0_server_python/tests/test_mfa_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from unittest.mock import AsyncMock, MagicMock
66

77
import pytest
8-
98
from auth0_server_python.auth_server.mfa_client import DEFAULT_MFA_TOKEN_TTL, MfaClient
109
from auth0_server_python.auth_types import (
1110
AuthenticatorResponse,

src/auth0_server_python/tests/test_my_account_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from unittest.mock import ANY, AsyncMock, MagicMock
22

33
import pytest
4-
54
from auth0_server_python.auth_server.my_account_client import MyAccountClient
65
from auth0_server_python.auth_types import (
76
CompleteConnectAccountRequest,

src/auth0_server_python/tests/test_server_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
from urllib.parse import parse_qs, urlparse
55

66
import pytest
7-
from pydantic_core import ValidationError
8-
97
from auth0_server_python.auth_server.my_account_client import MyAccountClient
108
from auth0_server_python.auth_server.server_client import ServerClient
119
from auth0_server_python.auth_types import (
@@ -37,6 +35,7 @@
3735
StartLinkUserError,
3836
)
3937
from auth0_server_python.utils import PKCE
38+
from pydantic_core import ValidationError
4039

4140

4241
@pytest.mark.asyncio

0 commit comments

Comments
 (0)