We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3d9e5 commit 0433027Copy full SHA for 0433027
tests/factories.py
@@ -5,14 +5,20 @@
5
6
7
class DeckModelFactory(SQLAlchemyFactory[models.Deck]):
8
- __model__ = models.Deck
+ __set_association_proxy__ = False
9
+ __set_relationships__ = False
10
+ __check_model__ = False
11
id = None
12
13
14
class CardModelFactory(SQLAlchemyFactory[models.Card]):
- __model__ = models.Card
15
16
17
18
19
20
21
class CardCreateSchemaFactory(ModelFactory[schemas.CardCreate]):
- __model__ = schemas.CardCreate
22
23
24
0 commit comments