Skip to content

Commit c9a26f1

Browse files
authored
Merge pull request #8433 from ryuwd/roneil-models-refactor
refactor: import TokenResponse from diracx.core.models.auth
2 parents b0bc9cf + 88d1800 commit c9a26f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DIRAC/Core/Security/DiracX.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
except ImportError:
2727
# TODO: Remove this once diracx is tagged
2828
from diracx.client import DiracClient as SyncDiracClient
29-
from diracx.core.models import TokenResponse
29+
from diracx.core.models.auth import TokenResponse
3030
from diracx.core.preferences import DiracxPreferences
3131
from diracx.core.utils import serialize_credentials
3232

src/DIRAC/FrameworkSystem/Utilities/diracx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from cachetools.keys import hashkey
1414
from diracx.cli.internal.legacy import _apply_fixes
1515
from diracx.core.config.schema import Config as DiracxConfig
16-
from diracx.core.models import TokenResponse
16+
from diracx.core.models.auth import TokenResponse
1717
from diracx.core.preferences import DiracxPreferences
1818
from diracx.core.utils import write_credentials
1919
from pydantic import ValidationError

0 commit comments

Comments
 (0)