LroConfig Class
Options to control Long Running Operation (LRO) polling behavior.
LroConfig is a TypedDict (with total=False, so
every key is optional). Pass it to any Fabric function that accepts an
lro_config parameter to override the default polling strategy.
Constructor
LroConfig()
Examples
Wait up to 30 minutes with at most 120 polling attempts:
>>> opts: LroConfig = {"max_wait_seconds": 1800, "max_attempts": 120}
>>> create_lakehouse("my_lakehouse", lro_config=opts)
Attributes
max_wait_seconds
Maximum total wall-clock time (in seconds) to wait for the LRO to
complete. A TimeoutError is raised when this limit is exceeded.
Set to None to disable the time-based limit. Default: 600
(10 minutes).
max_wait_seconds: float | None
max_attempts
Maximum number of status-polling iterations. None means
unlimited. Default: None.
max_attempts: int | None
max_interval_seconds
Upper bound (in seconds) for the pause between consecutive polling
requests. None means no cap (the interval is governed only by
the server Retry-After header and the back-off factor).
Default: None.
max_interval_seconds: float | None
retry_after
Initial pause (in seconds) before the first polling request.
Subsequent pauses grow by back_off_factor each iteration
(capped by max_interval_seconds when set). Default: 1.
retry_after: float
back_off_factor
Multiplier applied to the polling interval after each iteration.
For example, 2 doubles the wait each time. Default: 2.
back_off_factor: float
operation_name
Descriptive label shown in the tqdm progress bar. When
None the library derives a name from the request URL or
context. Default: None.
operation_name: str | None