mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 05:01:23 -05:00
feat: mypy for all type check (#10921)
This commit is contained in:
@@ -4,7 +4,7 @@ from typing import Any
|
||||
|
||||
class LRUCache:
|
||||
def __init__(self, capacity: int):
|
||||
self.cache = OrderedDict()
|
||||
self.cache: OrderedDict[Any, Any] = OrderedDict()
|
||||
self.capacity = capacity
|
||||
|
||||
def get(self, key: Any) -> Any:
|
||||
|
||||
Reference in New Issue
Block a user