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 26a9d74 commit 6f4a9d9Copy full SHA for 6f4a9d9
tests/fixtures/db_setup.py
@@ -17,6 +17,7 @@
17
RelationshipPropertyCardinality,
18
RelationshipPropertyDirection,
19
)
20
+from pyneo4j_ogm.pydantic_utils import IS_PYDANTIC_V2
21
22
23
class Developer(NodeModel):
@@ -271,3 +272,13 @@ def coffee_shop_model_instances(setup_test_data):
271
272
rating_five_model = CoffeeShop._inflate(rating_five)
273
274
return (rating_five_model,)
275
+
276
277
+if not IS_PYDANTIC_V2:
278
+ Developer.update_forward_refs()
279
+ Coffee.update_forward_refs()
280
+ Consumed.update_forward_refs()
281
+ WorkedWith.update_forward_refs()
282
+ CoffeeShop.update_forward_refs()
283
+ Sells.update_forward_refs()
284
+ Bestseller.update_forward_refs()
0 commit comments