Ver Fonte

Update import statements for Strawberry 0.236.0

Jeremy Stretch há 1 ano atrás
pai
commit
b4240cdd67
1 ficheiros alterados com 3 adições e 4 exclusões
  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 .utils import disable_warnings
 
 
 from ipam.graphql.types import IPAddressFamilyType
 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__ = (
 __all__ = (
     'APITestCase',
     'APITestCase',