fix type
This commit is contained in:
parent
0709c1dbf0
commit
f43f793148
|
@ -1,11 +1,11 @@
|
||||||
from logging import getLogger
|
from logging import getLogger
|
||||||
from typing import Any, List
|
from typing import Any, List, Tuple
|
||||||
|
|
||||||
logger = getLogger(__name__)
|
logger = getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class ModelCache:
|
class ModelCache:
|
||||||
cache: List[(str, Any, Any)]
|
cache: List[Tuple[str, Any, Any]]
|
||||||
limit: int
|
limit: int
|
||||||
|
|
||||||
def __init__(self, limit: int) -> None:
|
def __init__(self, limit: int) -> None:
|
||||||
|
|
Loading…
Reference in New Issue