Skip to content

Commit 0433027

Browse files
committed
update packages
1 parent 0d3d9e5 commit 0433027

File tree

2 files changed

+394
-317
lines changed

2 files changed

+394
-317
lines changed

tests/factories.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,20 @@
55

66

77
class DeckModelFactory(SQLAlchemyFactory[models.Deck]):
8-
__model__ = models.Deck
8+
__set_association_proxy__ = False
9+
__set_relationships__ = False
10+
__check_model__ = False
911
id = None
1012

1113

1214
class CardModelFactory(SQLAlchemyFactory[models.Card]):
13-
__model__ = models.Card
15+
__set_association_proxy__ = False
16+
__set_relationships__ = False
17+
__check_model__ = False
1418
id = None
1519

1620

1721
class CardCreateSchemaFactory(ModelFactory[schemas.CardCreate]):
18-
__model__ = schemas.CardCreate
22+
__set_association_proxy__ = False
23+
__set_relationships__ = False
24+
__check_model__ = False

0 commit comments

Comments
 (0)