From 9c4f2f406dafd6f0188ff3067137ea014f35a196 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:45:30 +0800 Subject: [PATCH] feat: Updated sdks/python/julep/managers/session.p (#265) Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com> --- sdks/python/julep/managers/session.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdks/python/julep/managers/session.py b/sdks/python/julep/managers/session.py index 583a7c243..ed448db31 100644 --- a/sdks/python/julep/managers/session.py +++ b/sdks/python/julep/managers/session.py @@ -68,6 +68,10 @@ class BaseSessionsManager(BaseManager): Returns: Union[Session, Awaitable[Session]]: The session object or an awaitable yielding it. + Raises: + ValueError: If the `id` is not a valid UUID. + NetworkError: If there is an issue communicating with the API. + _create(user_id, agent_id, situation): Create a new session with specified user and agent identifiers.