ds_protocol_http_py_lib.dataset.incremental.settings ==================================================== .. py:module:: ds_protocol_http_py_lib.dataset.incremental.settings .. autoapi-nested-parse:: **File:** ``settings.py`` **Region:** ``ds_protocol_http_py_lib/dataset/incremental/settings`` Incremental (shifting-scope) settings for HttpDataset reads. .. rubric:: Example >>> IncrementalSettings( ... param="updated_since", ... location=InjectLocation.QUERY, ... watermark_path="updated_at", ... ) Classes ------- .. autoapisummary:: ds_protocol_http_py_lib.dataset.incremental.settings.IncrementalSettings Module Contents --------------- .. py:class:: IncrementalSettings Bases: :py:obj:`ds_common_serde_py_lib.Serializable` Instruction nest for incremental rules used by Paginate. Instruction (stable): which request slot carries the lower bound and which response field advances the high-watermark. State (runtime): the watermark value itself lives in ``checkpoint``, owned by the caller. Paginate reads it on prepare and writes it on commit. .. py:attribute:: strategy :type: ds_protocol_http_py_lib.dataset.incremental.enums.IncrementalStrategy Incremental ruleset. Declared explicitly; never inferred. .. py:attribute:: param :type: str Name injected into the next run's request (query, header, or body key). .. py:attribute:: location :type: ds_protocol_http_py_lib.utils.http.request.InjectLocation Where the watermark is injected on the request. .. py:attribute:: watermark_path :type: str Dotted path on each output row used to compute the new high-watermark.