MCPcopy
hub / github.com/nonebot/nonebot2 / _check_param

Method _check_param

nonebot/dependencies/__init__.py:48–51  ·  view source on GitHub ↗
(
        cls, param: inspect.Parameter, allow_types: tuple[type["Param"], ...]
    )

Source from the content-addressed store, hash-verified

46
47 @classmethod
48 def _check_param(
49 cls, param: inspect.Parameter, allow_types: tuple[type["Param"], ...]
50 ) -> "Param | None":
51 return
52
53 @classmethod
54 def _check_parameterless(

Callers 1

parse_paramsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected