Skip to content

Commit

Permalink
🚨 修复 Limiterget_info 方法返回类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
A-kirami committed Feb 15, 2024
1 parent 1069429 commit c246e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kirami/service/limiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def check(self, key: str) -> bool:
raise NotImplementedError

@abstractmethod
def get_info(self, key: str) -> TypedDict:
def get_info(self, key: str) -> dict:
raise NotImplementedError

def get_prompt(self, key: str, **kwargs) -> str | None:
Expand Down

0 comments on commit c246e0a

Please sign in to comment.