Skip to content

Commit 4b70a92

Browse files
committed
fix: make wrapper kw-only in all remaining session implementations
1 parent af6c0f1 commit 4b70a92

File tree

5 files changed

+283
-273
lines changed

5 files changed

+283
-273
lines changed

src/agents/extensions/memory/dapr_session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ async def _handle_concurrency_conflict(self, error: Exception, attempt: int) ->
237237
async def get_items(
238238
self,
239239
limit: int | None = None,
240+
*,
240241
wrapper: RunContextWrapper[Any] | None = None,
241242
) -> list[TResponseInputItem]:
242243
"""Retrieve the conversation history for this session.
@@ -280,6 +281,7 @@ async def get_items(
280281
async def add_items(
281282
self,
282283
items: list[TResponseInputItem],
284+
*,
283285
wrapper: RunContextWrapper[Any] | None = None,
284286
) -> None:
285287
"""Add new items to the conversation history.

0 commit comments

Comments
 (0)