My sqlalchemy is 0.6.3, and elixir is 0.7.1
I created a model class which extends Entity
:
from elixir import *
class User(Entity):
pass
And save the a user as:
user = User()
user.save()
It reports Session has no attribute 'save'
I looked into the code of elixir, found it invokes sqlalchemy.org.session.Session#save()
, but there is no save()
method there.
So, is elixir
outdated, and we should not use it any more?