Skip to content

Commit 89ea430

Browse files
refactor(tools): add type hint to should_parse, make preserve_property_names keyword-only
1 parent 36fd134 commit 89ea430

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/google/adk/tools/openapi_tool/openapi_spec_parser/operation_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class OperationParser:
4545
def __init__(
4646
self,
4747
operation: Union[Operation, Dict[str, Any], str],
48-
should_parse=True,
48+
should_parse: bool = True,
49+
*,
4950
preserve_property_names: bool = False,
5051
):
5152
"""Initializes the OperationParser with an OpenApiOperation.

0 commit comments

Comments
 (0)