Skip to content

Add Sessions and Batches resource clients - #33

Merged
mehmetkr merged 1 commit into
mainfrom
tier2-sessions-batches
Dec 2, 2026
Merged

mehmetkr merged 1 commit into
mainfrom
tier2-sessions-batches

Conversation

@mehmetkr

@mehmetkr mehmetkr commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Sessions and AsyncSessions resource clients with 5 operations: create, list, retrieve, update, close
  • Add Batches and AsyncBatches resource clients with 2 operations: retrieve, results
  • Wire both into Client and AsyncClient via @cached_property
  • Export all 4 classes from resources.__init__

Test plan

  • 7 sync tests covering all Sessions operations and filter params
  • 5 async tests covering all Sessions operations
  • 4 sync tests covering Batches retrieve and results
  • 3 async tests covering Batches retrieve and results
  • All 334 tests pass (including pre-existing)
  • ruff lint + format clean
  • pyright strict clean
  • mypy strict clean

@mehmetkr

mehmetkr commented Dec 2, 2026

Copy link
Copy Markdown
Owner Author

Re-triggering CI

@mehmetkr mehmetkr closed this Dec 2, 2026
@mehmetkr mehmetkr reopened this Dec 2, 2026
@mehmetkr
mehmetkr force-pushed the tier2-sessions-batches branch from 6d026a9 to 45a22b7 Compare December 2, 2026 22:02
@mehmetkr
mehmetkr force-pushed the tier2-sessions-batches branch from 45a22b7 to e07f7f3 Compare December 2, 2026 22:16
@mehmetkr
mehmetkr merged commit 63d52ea into main Dec 2, 2026
7 checks passed
@mehmetkr
mehmetkr deleted the tier2-sessions-batches branch December 2, 2026 22:25
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