We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I seem to get a TypeError when using the latest version:
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in __call__ return self.wsgi_app(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app response = self.make_response(self.handle_exception(e)) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./assetregister/api/__init__.py", line 39, in decorated return f(*args, **kwargs) File "./assetregister/api/servers.py", line 114, in server_edit g.session.commit() File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 765, in commit self.transaction.commit() File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 370, in commit self._prepare_impl() File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 350, in _prepare_impl self.session.flush() File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1879, in flush self._flush(objects) File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1906, in _flush self.dispatch.before_flush(self, flush_context, objects) File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy/event/attr.py", line 211, in __call__ fn(*args, **kw) File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy_continuum/manager.py", line 274, in before_flush uow = self.unit_of_work(session) File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy_continuum/manager.py", line 261, in unit_of_work conn = get_bind(obj) File "/home/paul/dev/assetregister/env/local/lib/python2.7/site-packages/sqlalchemy_continuum/utils.py", line 64, in get_bind 'This method accepts only Session, Connection and declarative ' TypeError: This method accepts only Session, Connection and declarative model objects.```
The text was updated successfully, but these errors were encountered:
95ca466
No branches or pull requests
I seem to get a TypeError when using the latest version:
The text was updated successfully, but these errors were encountered: