File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
import dataclasses
2
2
from typing import List , Optional , Type , cast
3
3
4
- from .exceptions import InvalidSuperclassInterface , MissingFieldAnnotationError , MissingReturnAnnotationError
4
+ from .exceptions import (
5
+ InvalidSuperclassInterface ,
6
+ MissingFieldAnnotationError ,
7
+ MissingReturnAnnotationError ,
8
+ )
5
9
from .field import StrawberryField , field
6
10
from .types .type_resolver import _get_fields
7
11
from .types .types import FederationTypeParams , TypeDefinition
@@ -101,10 +105,7 @@ def _process_type(
101
105
102
106
if is_input and interfaces :
103
107
interface_names = [interface .name for interface in interfaces ]
104
- e = InvalidSuperclassInterface (
105
- input_name = name ,
106
- interface_names = interface_names
107
- )
108
+ e = InvalidSuperclassInterface (input_name = name , interface_names = interface_names )
108
109
print (e )
109
110
110
111
raise e
You can’t perform that action at this time.
0 commit comments