@@ -618,7 +618,7 @@ def __init__(
618618 self ._tool_signature = signature
619619 self ._tool_type_adapter = type_adapter
620620
621- @te .overload # type: ignore [override]
621+ @te .overload # type: ignore [override, unused-ignore ]
622622 def __get__ (self , instance : None , owner : type [object ] | None = None ) -> Tool [P , R ]: ...
623623
624624 @te .overload
@@ -667,7 +667,7 @@ def tool_method(
667667 * ,
668668 name : str | None = None ,
669669 description : str | None = None ,
670- catch : bool | t .Iterable [type [Exception ]] = False ,
670+ catch : bool | t .Iterable [type [Exception ]] | None = None ,
671671 truncate : int | None = None ,
672672) -> t .Callable [[t .Callable [t .Concatenate [t .Any , P ], R ]], ToolMethod [P , R ]]: ...
673673
@@ -685,7 +685,7 @@ def tool_method(
685685 * ,
686686 name : str | None = None ,
687687 description : str | None = None ,
688- catch : bool | t .Iterable [type [Exception ]] = False ,
688+ catch : bool | t .Iterable [type [Exception ]] | None = None ,
689689 truncate : int | None = None ,
690690) -> t .Callable [[t .Callable [t .Concatenate [t .Any , P ], R ]], ToolMethod [P , R ]] | ToolMethod [P , R ]:
691691 """
0 commit comments