8000 Merge branch 'main' of https://github.com/Imfuyuwei/adk-python into c… · GeekyprogrammerEJ/adk-python@6cd4ecc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6cd4ecc

Browse files
committed
Merge branch 'main' of https://github.com/Imfuyuwei/adk-python into contri
2 parents 81bcced + 652d33f commit 6cd4ecc

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
### ⚠ BREAKING CHANGES
2828

2929
* Auth: expose `access_token` and `refresh_token` at top level of auth
30-
credentails, instead of a `dict`
30+
credentials, instead of a `dict`
3131
([commit](https://github.com/google/adk-python/commit/956fb912e8851b139668b1ccb8db10fd252a6990)).
3232

3333
### Features
@@ -50,7 +50,7 @@
5050

5151
### Miscellaneous Chores
5252

53-
* README.md impprovements.
53+
* README.md improvements.
5454
* Various code improvements.
5555
* Various typo fixes.
5656
* Bump min version of google-genai to 1.11.0.
@@ -108,4 +108,4 @@
108108
* Built-in evaluation support
109109
* Development UI that makes local development easy
110110
* Deploy to Google Cloud Run, Agent Engine
111-
* (Experimental) Live(Bidi) auido/video agent support and Compositional Function Calling(CFC) support
111+
* (Experimental) Live(Bidi) audio/video agent support and Compositional Function Calling(CFC) support

src/google/adk/sessions/database_session_service.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,11 @@ def append_event(self, session: Session, event: Event) -> Event:
484484

485485
if storage_session.update_time.timestamp() > session.last_update_time:
486486
raise ValueError(
487-
f"Session last_update_time {session.last_update_time} is later than"
488-
f" the upate_time in storage {storage_session.update_time}"
489-
)
487+
f"Session last_update_time "
488+
f"{datetime.fromtimestamp(session.last_update_time):%Y-%m-%d %H:%M:%S} "
489+
f"is later than the update_time in storage "
490+
f"{storage_session.update_time:%Y-%m-%d %H:%M:%S}"
491+
)
490492

491493
# Fetch states from storage
492494
storage_app_state = sessionFactory.get(

tests/unittests/tools/openapi_tool/openapi_spec_parser/test_operation_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ def test_get_json_schema(sample_operation):
350350
# By default nothing is required unless explicitly stated
351351
assert 'required' not in json_schema or json_schema['required'] == []
352352

353+
353354
def test_get_signature_parameters(sample_operation):
354355
"""Test get_signature_parameters method."""
355356
parser = OperationParser(sample_operation)

0 commit comments

Comments
 (0)
0