We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f3d44f + 421f8e4 commit 8079d6cCopy full SHA for 8079d6c
graphene_sqlalchemy/tests/test_converter.py
@@ -51,7 +51,8 @@ class Model(declarative_base()):
51
def test_should_unknown_sqlalchemy_field_raise_exception():
52
re_err = "Don't know how to convert the SQLAlchemy field"
53
with pytest.raises(Exception, match=re_err):
54
- get_field(types.Binary())
+ # support legacy Binary type and subsequent LargeBinary
55
+ get_field(getattr(types, 'LargeBinary', types.Binary)())
56
57
58
def test_should_date_convert_string():
0 commit comments