File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import asyncio
4
4
import logging
5
- from typing import Optional , Sequence , Tuple
5
+ from typing import TYPE_CHECKING , Optional , Sequence , Tuple
6
6
7
7
from aries_askar import AskarError
8
8
from indy_credx import (
18
18
Schema ,
19
19
)
20
20
21
- from ...askar .profile import AskarProfile
22
21
from ...utils .general import strip_did_prefix
23
22
from ..issuer import (
24
23
DEFAULT_CRED_DEF_TAG ,
28
27
IndyIssuerRevocationRegistryFullError ,
29
28
)
30
29
30
+ if TYPE_CHECKING :
31
+ from ...askar .profile import AskarProfile
32
+
33
+
31
34
LOGGER = logging .getLogger (__name__ )
32
35
33
36
CATEGORY_CRED_DEF = "credential_def"
Original file line number Diff line number Diff line change 7
7
from os .path import isdir , join
8
8
from pathlib import Path
9
9
from platform import system
10
- from typing import Optional
10
+ from typing import TYPE_CHECKING , Optional
11
11
12
- from ..core .profile import Profile
13
12
from ..revocation .models .issuer_rev_reg_record import IssuerRevRegRecord
14
13
from .issuer import IndyIssuerError
15
14
15
+ if TYPE_CHECKING :
16
+ from ..core .profile import Profile
17
+
16
18
LOGGER = logging .getLogger (__name__ )
17
19
18
20
REVOCATION_REGISTRY_CREATION_TIMEOUT = float (
You can’t perform that action at this time.
0 commit comments