Просмотр исходного кода

Update import statements for Strawberry 0.236.0

Jeremy Stretch 1 год назад
Родитель
Сommit
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',