Graham Higgins schrieb: > I'm on SQLA 0.5.6 and am seeing: > > /elixir/elixir/entity.py:444: SADeprecationWarning: Session.mapper is > deprecated. Please see > http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SessionAwareMapper > for information on how to replicate its behavior. > *args, **kwargs) > > Mike Bayer recently responded to an enquiry on the longevity of > Session.mapper: > > http://www.mail-archive.com/[email protected]/msg16269.html > > If it's a deliberate decision to stick with Session.mapper for a > while, it might be nice to swap the deprecation warning for an issue > ticket.
In turbogears 1.1 we provide our own session-aware mapper emulation based on the wiki page mentioned in the deprecation warning: http://trac.turbogears.org/browser/branches/1.1/turbogears/database.py#L100 Maybe Elixir can do something similar? I don't really understand why SA chose to drop such handy features as the implicit query attribute and constructors that take attribute/value kwargs. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
