strawberry.exceptions.DuplicatedTypeName
Raised when the same type with different definition is reused inside a schema.
Constructor:
Signature:
def __init__( self, first_cls: Type | None, second_cls: Type | None, duplicated_type_name: str,) -> None: ...
Parameters:
-
first_cls:
- Type
-
Type | None
-
second_cls:
- Type
-
Type | None
-
duplicated_type_name:
- Type
-
str
Attributes:
-
first_cls:
-
second_cls:
-
message:
-
rich_message:
-
suggestion:
-
exception_source:
- Type
-
ExceptionSource | None