Преглед изворни кода

Update import statements for Strawberry 0.236.0

Jeremy Stretch пре 1 година
родитељ
комит
b4240cdd67
1 измењених фајлова са 3 додато и 4 уклоњено
  1. 3 4
      netbox/utilities/testing/api.py

+ 3 - 4
netbox/utilities/testing/api.py

@@ -19,10 +19,9 @@ from .base import ModelTestCase
 from .utils import disable_warnings
 
 from ipam.graphql.types import IPAddressFamilyType
-from strawberry.field import StrawberryField
-from strawberry.lazy_type import LazyType
-from strawberry.type import StrawberryList, StrawberryOptional
-from strawberry.union import StrawberryUnion
+from strawberry.types.lazy_type import LazyType
+from strawberry.types.base import StrawberryList, StrawberryOptional
+from strawberry.types.union import StrawberryUnion
 
 __all__ = (
     'APITestCase',