fix: TypedDict import
This commit is contained in:
parent
6b33f150c6
commit
f238b3d1ef
1 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
from typing import Optional, Tuple, Dict, TypedDict
|
from typing import Optional, Tuple, Dict
|
||||||
|
|
||||||
|
try:
|
||||||
|
from typing import TypedDict # type: ignore
|
||||||
|
except ImportError: # pragma: nocover
|
||||||
|
from typing_extensions import TypedDict
|
||||||
|
|
||||||
from lnbits import bolt11
|
from lnbits import bolt11
|
||||||
from lnbits.helpers import urlsafe_short_hash
|
from lnbits.helpers import urlsafe_short_hash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue