- fixed three- and multi-level select and deferred inheritance
loading (i.e. abc inheritance with no select_table), [ticket:795]
+- ident passed to id_chooser in shard.py always a list
+
0.4.0beta6
----------
from sqlalchemy.orm.session import Session
from sqlalchemy.orm.query import Query
-from sqlalchemy import exceptions
+from sqlalchemy import exceptions, util
__all__ = ['ShardedSession', 'ShardedQuery']
if self._shard_id is not None:
return super(ShardedQuery, self).get(ident)
else:
+ ident = util.to_list(ident)
for shard_id in self.id_chooser(self, ident):
o = self.set_shard(shard_id).get(ident, **kwargs)
if o is not None: