Skip to content

Commit 3aa06b6

Browse files
authored
Merge pull request #55 from nbushak/master
don't assume property is not nullable when no "nullable" field on property
2 parents 35792a8 + 2c5b103 commit 3aa06b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_sqlalchemy/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_column_doc(column):
2828

2929

3030
def is_column_nullable(column):
31-
return bool(getattr(column, 'nullable', False))
31+
return bool(getattr(column, 'nullable', True))
3232

3333

3434
def convert_sqlalchemy_relationship(relationship, registry):

0 commit comments

Comments
 (0)