Skip to content

Commit 160ee86

Browse files
committed
fix: rename useless import as statements
1 parent 21f418f commit 160ee86

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

src/joserfc/jwe.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
FlattenedJSONSerialization,
66
)
77
from ._rfc7516.models import (
8-
Recipient as Recipient,
9-
CompactEncryption as CompactEncryption,
10-
GeneralJSONEncryption as GeneralJSONEncryption,
11-
FlattenedJSONEncryption as FlattenedJSONEncryption,
8+
Recipient,
9+
CompactEncryption,
10+
GeneralJSONEncryption,
11+
FlattenedJSONEncryption,
1212
)
1313
from ._rfc7516.registry import (
14-
JWERegistry as JWERegistry,
14+
JWERegistry,
1515
default_registry,
1616
)
1717
from ._rfc7516.message import perform_encrypt, perform_decrypt

src/joserfc/jwk.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
KeySetSerialization,
88
)
99
from ._rfc7517.types import AnyKey, DictKey, KeyParameters
10-
from ._rfc7518.oct_key import OctKey as OctKey
11-
from ._rfc7518.rsa_key import RSAKey as RSAKey
12-
from ._rfc7518.ec_key import ECKey as ECKey
13-
from ._rfc8037.okp_key import OKPKey as OKPKey
10+
from ._rfc7518.oct_key import OctKey
11+
from ._rfc7518.rsa_key import RSAKey
12+
from ._rfc7518.ec_key import ECKey
13+
from ._rfc8037.okp_key import OKPKey
1414
from ._rfc8812 import register_secp256k1
1515
from ._rfc7638 import calculate_thumbprint as thumbprint
1616
from ._rfc9278 import calculate_thumbprint_uri as thumbprint_uri

src/joserfc/jws.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
from typing import overload, TypeVar, Any
33
from ._rfc7515.model import (
44
JWSAlgModel,
5-
HeaderMember as HeaderMember,
6-
CompactSignature as CompactSignature,
7-
GeneralJSONSignature as GeneralJSONSignature,
8-
FlattenedJSONSignature as FlattenedJSONSignature,
5+
HeaderMember,
6+
CompactSignature,
7+
GeneralJSONSignature,
8+
FlattenedJSONSignature,
99
)
1010
from ._rfc7515.registry import (
11-
JWSRegistry as JWSRegistry,
11+
JWSRegistry,
1212
construct_registry,
1313
default_registry,
1414
)
@@ -26,9 +26,9 @@
2626
detach_json_content,
2727
)
2828
from ._rfc7515.types import (
29-
HeaderDict as HeaderDict,
30-
GeneralJSONSerialization as GeneralJSONSerialization,
31-
FlattenedJSONSerialization as FlattenedJSONSerialization,
29+
HeaderDict,
30+
GeneralJSONSerialization,
31+
FlattenedJSONSerialization,
3232
)
3333
from ._rfc7797.util import is_rfc7797_enabled
3434
from ._rfc7797.compact import (

0 commit comments

Comments
 (0)