Explorar o código

Update import statements for Strawberry 0.236.0

Jeremy Stretch hai 1 ano
pai
achega
b4240cdd67
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  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',