Skip to content

Commit 6e4b721

Browse files
authored
Merge pull request #105 from scotmatson/patch-2
Update converter.py again to include INET and CIDR types.
2 parents 4827ce2 + 6220e25 commit 6e4b721

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graphene_sqlalchemy/converter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def convert_sqlalchemy_type(type, column, registry=None):
9292
@convert_sqlalchemy_type.register(types.Unicode)
9393
@convert_sqlalchemy_type.register(types.UnicodeText)
9494
@convert_sqlalchemy_type.register(postgresql.UUID)
95+
@convert_sqlalchemy_type.register(postgresql.INET)
96+
@convert_sqlalchemy_type.register(postgresql.CIDR)
9597
@convert_sqlalchemy_type.register(TSVectorType)
9698
def convert_column_to_string(type, column, registry=None):
9799
return String(description=get_column_doc(column),

0 commit comments

Comments
 (0)