code: async def update_status(self):
          
          if self._operation.async_url:
              self._response = await self.request_status(self._operation.async_url)
              self._operation.set_async_url_if_present(self._response)
              self._operation.get_status_from_async(self._response)
          elif self._operation.location_url:
              self._response = await self.request_status(self._operation.location_url)
              self._operation.set_async_url_if_present(self._response)
              self._operation.get_status_from_location(self._response)
          elif self._operation.method == "PUT":
              initial_url = self._operation.initial_response.request.url
              self._response = await self.request_status(initial_url)
              self._operation.set_async_url_if_present(self._response)
              self._operation.get_status_from_resource(self._response)
          else:
              raise BadResponse("Unable to find status link for polling.")
docs: Update the current status of the LRO.