mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-21 22:11:59 +01:00
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.helpers import urlsafe_short_hash
|
||||
|
|
Loading…
Add table
Reference in a new issue