Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove sqlalchemy warning about conflicts #413

Merged

Conversation

Askir
Copy link
Contributor

@Askir Askir commented Jan 29, 2025

Fixes #406
Functionally this doesn't change anything. It just makes it so that if you would somehow attach an embedding to a different parent entity the .parent is correctly changed as well. However I don't see this as a valid use-case since the vectorizer is in charge of keeping the embeddings in sync. Therefore I didn't write a test for this, and just added the line to remove the warning by sqlalchemy in the log.

@Askir Askir marked this pull request as ready for review January 29, 2025 17:42
@Askir Askir requested a review from a team as a code owner January 29, 2025 17:42
@Askir Askir force-pushed the jascha/ai-423-bug-fix-sqlalchemy-relationship-warning-in-model branch from e4eae40 to 6180362 Compare January 29, 2025 17:42
@Askir Askir merged commit 55f89fe into main Jan 29, 2025
5 checks passed
@Askir Askir deleted the jascha/ai-423-bug-fix-sqlalchemy-relationship-warning-in-model branch January 29, 2025 18:10
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.

[Bug]: Fix SQLAlchemy relationship warning in Model vectorizer_relationship
2 participants