• Jacob Magnusson's avatar
    Fix regression with late-evaluation relationships no longer working for filters · b71634c3
    Jacob Magnusson authored
    Regression was introduced in 47080aeb (PR #1348) where `is_hybrid_property` was changed to support remote hybrid properties. When lambdas were encountered in the iteration they were passed as-is to the function `get_hybrid_properties`, which in turn threw the exception `sqlalchemy.exc.NoInspectionAvailable: No inspection system is available for object of type <class 'function'>`.
    
    Test has been updated to ensure that flask-admin will continue to support lambdas as a relationship’s first argument.
    b71634c3
Name
Last commit
Last update
babel Loading commit data...
doc Loading commit data...
examples Loading commit data...
flask_admin Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.rst Loading commit data...
TODO.txt Loading commit data...
projects.rst Loading commit data...
requirements-dev.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...