Skip to content

Conversation

@walison17
Copy link
Collaborator

This PR aims to allow passing a custom identifier to create session endpoint

instance = session.query(ChatEntity).filter_by(uuid=session_uuid).one()
except NoResultFound:
instance = None
except UniqueViolation:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This exception never happens here

@vmesel vmesel merged commit a295701 into talkdai:main Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants