omnata-plugin-runtime 0.3.28a83__tar.gz → 0.3.28a85__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.3.28a83
3
+ Version: 0.3.28a85
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.3.28-a83"
3
+ version = "0.3.28-a85"
4
4
  description = "Classes and common runtime components for building and running Omnata Plugins"
5
5
  authors = ["James Weakley <james.weakley@omnata.com>"]
6
6
  readme = "README.md"
@@ -264,7 +264,7 @@ class SyncRequest(ABC):
264
264
  """
265
265
  return RateLimitedSession(
266
266
  run_deadline=self._run_deadline,
267
- cancellation_token=self._thread_cancellation_token,
267
+ thread_cancellation_token=self._thread_cancellation_token,
268
268
  max_retries=max_retries,
269
269
  backoff_factor=backoff_factor,
270
270
  statuses_to_include=statuses_to_include
@@ -374,7 +374,7 @@ class RateLimitedSession(requests.Session):
374
374
  total=max_retries,
375
375
  backoff_factor=backoff_factor,
376
376
  status_forcelist=statuses_to_include,
377
- method_whitelist=["HEAD", "GET", "OPTIONS", "POST", "PUT", "DELETE"]
377
+ allowed_methods=["HEAD", "GET", "OPTIONS", "POST", "PUT", "DELETE"]
378
378
  )
379
379
  adapter = HTTPAdapter(max_retries=retry_strategy)
380
380
  self.mount("https://", adapter)