mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 09:05:04 +08:00
💩 find errors need to fix
This commit is contained in:
parent
b52954a240
commit
59e139724b
@ -131,6 +131,7 @@ def get_dependent(
|
||||
return dependent
|
||||
|
||||
|
||||
# FIXME: check param types first then run dependencies
|
||||
async def solve_dependencies(
|
||||
*,
|
||||
_dependent: Dependent,
|
||||
|
@ -97,6 +97,9 @@ def run_postprocessor(func: T_RunPostProcessor) -> T_RunPostProcessor:
|
||||
return func
|
||||
|
||||
|
||||
# FIXME: run handler with try/except skipped exception
|
||||
|
||||
|
||||
async def _check_matcher(
|
||||
priority: int,
|
||||
Matcher: Type[Matcher],
|
||||
|
@ -31,6 +31,7 @@ class EventParam(Param):
|
||||
return event
|
||||
|
||||
|
||||
# FIXME: may detect error param
|
||||
class StateParam(Param):
|
||||
@classmethod
|
||||
def _check(cls, name: str, param: inspect.Parameter) -> bool:
|
||||
|
Loading…
Reference in New Issue
Block a user