Skip to content

docs(sessions): clarify Python session list ordering - #2238

Open
baba9811 wants to merge 1 commit into
google:mainfrom
baba9811:docs/redis-session-list-order
Open

baba9811 wants to merge 1 commit into
google:mainfrom
baba9811:docs/redis-session-list-order

Conversation

@baba9811

Copy link
Copy Markdown
Contributor

Clarify that Python's list_sessions() contract returns sessions by last_update_time, oldest first, and that the last item identifies the most recently active session when the result is nonempty.

This accompanies the Redis session-order correction and describes the existing base service contract. The clarification stays in the existing session guide and is limited to Python.

Testing

  • mkdocs build --strict passed and Pagefind indexed 235 pages. The build reports an existing missing anchor in get-started/migrate.md at INFO level.
  • Ran mkdocs serve; the session page returned HTTP 200 and rendered the updated list item and inline code correctly.
  • Checked the statement against the current Python contract and a real Redis reproduction that fails before the correction and passes after it. No generated API-reference files changed.

Document the existing oldest-activity-first contract and explain which item represents the most recently active session when the result is nonempty.
@netlify

netlify Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 27f87c7
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6aa972567e8f710008eb382a
😎 Deploy Preview https://deploy-preview-2238--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant