Skip to content

Commit

Permalink
fix: remove lazy config
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Jul 1, 2023
1 parent d960ab7 commit 8519bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_contrib/test_sqlalchemy/models_uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ class UUIDModelWithFetchedValue(UUIDBase):
class UUIDItem(UUIDBase):
name: Mapped[str] = mapped_column(String(), unique=True)
description: Mapped[str | None]
tags: Mapped[list[UUIDTag]] = relationship(secondary=lambda: uuid_item_tag, back_populates="items", lazy="noload")
tags: Mapped[list[UUIDTag]] = relationship(secondary=lambda: uuid_item_tag, back_populates="items")


class UUIDTag(UUIDAuditBase):
"""The event log domain object."""

name: Mapped[str] = mapped_column(String(50), unique=True)
items: Mapped[list[UUIDItem]] = relationship(secondary=lambda: uuid_item_tag, back_populates="tags", lazy="noload")
items: Mapped[list[UUIDItem]] = relationship(secondary=lambda: uuid_item_tag, back_populates="tags")


class UUIDRule(UUIDAuditBase):
Expand Down

0 comments on commit 8519bb5

Please sign in to comment.