mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
fix: Update SQLite database URL for async connection
The example is broken without the fix. Co-authored-by: Liang Wu <wuliang@google.com> PiperOrigin-RevId: 843424168
This commit is contained in:
committed by
Copybara-Service
parent
ee9b4ca908
commit
60e314a78f
@@ -32,7 +32,7 @@ logs.log_to_tmp_folder()
|
|||||||
async def main():
|
async def main():
|
||||||
app_name = 'migrate_session_db_app'
|
app_name = 'migrate_session_db_app'
|
||||||
user_id_1 = 'user1'
|
user_id_1 = 'user1'
|
||||||
session_service = DatabaseSessionService('sqlite:///./sessions.db')
|
session_service = DatabaseSessionService('sqlite+aiosqlite:///./sessions.db')
|
||||||
artifact_service = InMemoryArtifactService()
|
artifact_service = InMemoryArtifactService()
|
||||||
runner = Runner(
|
runner = Runner(
|
||||||
app_name=app_name,
|
app_name=app_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user