Skip to content

Commit 2bffcd0

Browse files
authored
update to use py3 syntax (#22890)
* update to use py3 syntax * update
1 parent a0fa1d8 commit 2bffcd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/core/azure-core/azure/core/polling/base_polling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,15 @@ class OperationResourcePolling(LongRunningOperation):
198198
"""
199199

200200
def __init__(
201-
self, operation_location_header="operation-location", **kwargs
201+
self, operation_location_header="operation-location", *, lro_options=None
202202
):
203203
self._operation_location_header = operation_location_header
204204

205205
# Store the initial URLs
206206
self._async_url = None
207207
self._location_url = None
208208
self._request = None
209-
self._lro_options = kwargs.pop("lro_options", {}) or {}
209+
self._lro_options = lro_options or {}
210210

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

0 commit comments

Comments
 (0)