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 example examples/sharding/attribute_shard.py.
return a new query, limited to a single shard ID.
all subsequent operations with the returned query will be against the single shard regardless of other state.
construct a ShardedSession.