Ńņ [Jc @ s d Z d d k i Z d d k l Z d d k l Z d d k l Z d d g Z d e f d YZ d e f d YZ d S( s$ Horizontal sharding support. Defines a rudimental 'horizontal sharding' system which allows a Session to distribute queries and persistence operations across multiple databases. For a usage example, see the file ``examples/sharding/attribute_shard.py`` included in the source distrbution. i’’’’N( t util( t Session( t Queryt ShardedSessiont ShardedQueryc B sA e Z d d Z d d d d Z d d d d Z d Z RS( c K s t t | i | | | _ | | _ | | _ h | _ h | i d 6| _ t | _ | d j o) x&