Jay,

I looked at your code in detail and what I'm seeing is that the
lookups are not even getting populated.  It looks like there's no
binding to an engine there, which points to a problem with your
shard_chooser.

What I would do is try to simplify it a bit.  First realize that your
lookup routine is a shard in itself.  So get that working alone first.
 The same in examples/sharding/attribute_shard.py should be quite
helpful.  Once you get that working properly then implement the Post
sharding on top of it.

Not being super familiar with Elixir I don't know if it might be
causing a problem.  I doubt it since you are never setting a session
for it.  But be aware that because of this you're not getting a query
attribute on your class either.  You might be better served to look
into ext/declarative for your situation.

Michael Trier
blog.michaeltrier.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to