Skip to content

Commit 3b2ff6a

Browse files
committed
fix: incorrect list type
1 parent e03a5c8 commit 3b2ff6a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

graphene_pydantic/converters.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,6 @@ def convert_pydantic_type(
143143
type_, field, registry, parent_type=parent_type, model=model
144144
)
145145
field_type = getattr(field.annotation, '__origin__', None)
146-
147-
# TODO: _should_ Sets remain here?
148-
if field_type in [list, set, tuple]: # SHAPE_SEQUENTIAL
149-
return List(graphene_type)
150146
if field_type == map: # SHAPE_MAPPING
151147
raise ConversionError("Don't know how to handle mappings in Graphene.")
152148

0 commit comments

Comments
 (0)