# sqlalchemy 2.1.9 (MIT), harvested by tools/harvest_corpus.py
=== input
Construct a :class:`_horizontal.set_shard_id` option.

        :param shard_id: shard identifier
        :param propagate_to_loaders: if left at its default of ``True``, the
         shard option will take place for lazy loaders such as
         :func:`_orm.lazyload` and :func:`_orm.defer`; if False, the option
         will not be propagated to loaded objects. Note that :func:`_orm.defer`
         always limits to the shard_id of the parent row in any case, so the
         parameter only has a net effect on the behavior of the
         :func:`_orm.lazyload` strategy.

        
=== parse rest
short_description: 'Construct a :class:`_horizontal.set_shard_id` option.'
blank_after_short_description: True
blank_after_long_description: False
style: rest
- DocstringParam
  description: 'shard identifier'
  kind: param
  key: 'param'
  arg_name: 'shard_id'
  is_optional: False
- DocstringParam
  description: |
    if left at its default of ``True``, the
    shard option will take place for lazy loaders such as
    :func:`_orm.lazyload` and :func:`_orm.defer`; if False, the option
    will not be propagated to loaded objects. Note that :func:`_orm.defer`
    always limits to the shard_id of the parent row in any case, so the
    parameter only has a net effect on the behavior of the
    :func:`_orm.lazyload` strategy.
  kind: param
  key: 'param'
  arg_name: 'propagate_to_loaders'
  is_optional: False
=== detect
rest
=== compose rest
Construct a :class:`_horizontal.set_shard_id` option.

:param shard_id: shard identifier
:param propagate_to_loaders: if left at its default of ``True``, the
    shard option will take place for lazy loaders such as
    :func:`_orm.lazyload` and :func:`_orm.defer`; if False, the option
    will not be propagated to loaded objects. Note that :func:`_orm.defer`
    always limits to the shard_id of the parent row in any case, so the
    parameter only has a net effect on the behavior of the
    :func:`_orm.lazyload` strategy.
