Skip to content

feat(memory): add boto3_session parameter to MemoryClient#329

Closed
jariy17 wants to merge 4 commits intomainfrom
feat/boto3-session-memory-client
Closed

feat(memory): add boto3_session parameter to MemoryClient#329
jariy17 wants to merge 4 commits intomainfrom
feat/boto3-session-memory-client

Conversation

@jariy17
Copy link
Contributor

@jariy17 jariy17 commented Mar 12, 2026

Summary

  • Add optional boto3_session parameter to MemoryClient.__init__(), enabling named profiles, custom credentials, and other session-level configuration
  • Consistent with MemorySessionManager which already accepts boto3_session
  • Updated all tests to mock boto3.Session instead of boto3.client to match the new session-based client creation

Closes #44
Based on #90 by @manikawnth

Test plan

  • All 112 existing + new unit tests pass
  • New tests for boto3_session parameter (with and without explicit region_name)

avi-alpert and others added 4 commits March 12, 2026 10:50
Allow MemoryClient to accept an optional boto3.Session, consistent with
MemorySessionManager. This enables named profiles, custom credentials,
and other session-level configuration.

Closes #44
Based on #90
@jariy17 jariy17 requested a review from a team March 12, 2026 14:54
@jariy17 jariy17 closed this Mar 12, 2026
@jariy17 jariy17 deleted the feat/boto3-session-memory-client branch March 12, 2026 14:55
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.

Enhancement: support custom boto3.Session in MemoryClient

2 participants