mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 03:20:54 +00:00
⚗️ add regex and shell command di function
This commit is contained in:
@ -8,7 +8,6 @@ from pydantic.typing import ForwardRef, evaluate_forwardref
|
||||
def get_typed_signature(call: Callable[..., Any]) -> inspect.Signature:
|
||||
signature = inspect.signature(call)
|
||||
globalns = getattr(call, "__globals__", {})
|
||||
print(signature.parameters)
|
||||
typed_params = [
|
||||
inspect.Parameter(
|
||||
name=param.name,
|
||||
|
Reference in New Issue
Block a user