Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/core/azure-core/azure/core/polling/base_polling.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,15 @@ class OperationResourcePolling(LongRunningOperation):
"""

def __init__(
self, operation_location_header="operation-location", **kwargs
self, operation_location_header="operation-location", *, lro_options={}
):
self._operation_location_header = operation_location_header

# Store the initial URLs
self._async_url = None
self._location_url = None
self._request = None
self._lro_options = kwargs.pop("lro_options", {}) or {}
self._lro_options = lro_options

def can_poll(self, pipeline_response):
"""Answer if this polling method could be used.
Expand Down