Skip to content

Commit

Permalink
Change object.tags lazy-load strategy to select-in (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 authored Dec 10, 2024
1 parent 56ae90a commit 38a4f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwdb/model/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Object(db.Model):
tags = db.relationship(
"Tag",
back_populates="object",
lazy="joined",
lazy="selectin",
cascade="save-update, merge, delete",
)

Expand Down

0 comments on commit 38a4f65

Please sign in to comment.