Closed bim9262 closed 2 years ago
The tox.ini and setup.py's sqlalchemy version requirements are at odds:
ERROR: py37-sql11: could not install deps [.[test], sqlalchemy>=1.1,<1.2]; v = InvocationError("/tmp/graphene-sqlalchemy/.tox/py37-sql11/bin/python -m pip install '.[test]' 'sqlalchemy>=1.1,<1.2'", 1)
Bumped build requirments for sqlalchemy becase as noted in the documentation before version 1.3.19 the ordering for all_orm_descriptors was not deterministic:
.. versionchanged:: 1.3.19 ensured deterministic ordering for
:meth:`_orm.Mapper.all_orm_descriptors`.
Thanks for the PR! I think it is a handy feature to have since adding the documentation in the ObjectTypes is a lot of redundant work. However, I think dropping support of SQA < 1.3.19 is very critical. Is there a way to add this without dropping support for two major releases of SQLAlchemy?
@erikwrede , I'll take a look. It's been a while since I've looked at this... Looks like some rebasing is in order too.
Use the docstring of hybrid properties as the description.