You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
ADK changes
PiperOrigin-RevId: 810223422
This commit is contained in:
committed by
Copybara-Service
parent
aef1ee97a5
commit
374522197f
@@ -164,8 +164,8 @@ class OperationParser:
|
||||
def _process_return_value(self) -> Parameter:
|
||||
"""Returns a Parameter object representing the return type."""
|
||||
responses = self._operation.responses or {}
|
||||
# Default to Any if no 2xx response or if schema is missing
|
||||
return_schema = Schema(type='Any')
|
||||
# Default to empty schema if no 2xx response or if schema is missing
|
||||
return_schema = Schema()
|
||||
|
||||
# Take the 20x response with the smallest response code.
|
||||
valid_codes = list(
|
||||
|
||||
Reference in New Issue
Block a user