mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-18 11:22:22 -06:00
Copybara import of the project:
-- 1ca16aba5b7b869afa8e0a0cddaea539acd737f5 by bart.lee(이철민)/kakao <bart.lee@kakaocorp.com>: chore: Improves session update time validation message Enhances the error message when a session's last update time is later than the storage update time. This provides better readability by formatting the timestamps in the error message. COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/446 from kakao-bart-lee:main a2a0cff036429b61bd7cf1600fc4c2c0cf50089d PiperOrigin-RevId: 754452381
This commit is contained in:
@@ -347,8 +347,9 @@ def test_get_json_schema(sample_operation):
|
||||
assert json_schema['type'] == 'object'
|
||||
assert 'param1' in json_schema['properties']
|
||||
assert 'prop1' in json_schema['properties']
|
||||
# By default nothing is required unless explicitly stated
|
||||
assert 'required' not in json_schema or json_schema['required'] == []
|
||||
assert 'param1' in json_schema['required']
|
||||
assert 'prop1' in json_schema['required']
|
||||
|
||||
|
||||
def test_get_signature_parameters(sample_operation):
|
||||
"""Test get_signature_parameters method."""
|
||||
|
||||
Reference in New Issue
Block a user