julep-ai/julep

Validation error on getting session list

Opened this issue · 0 comments

ValidationError

1 validation error for Session
user_id
  UUID input should be a string, bytes or UUID object [type=uuid_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.7/v/uuid_type

raised here (sessions/routers.py)

    return SessionList(

        items=[Session(**row.to_dict()) for _, row in query_results.iterrows()] # <--- exception here

    )