Commit 2c30e9b3 authored by Michael Hofmann's avatar Michael Hofmann
Browse files

Merge: Fix pypy errors


Signed-off-by: Michael Hofmann's avatarMichael Hofmann <mhofmann@redhat.com>

See merge request !357
parents 8e38f972 7b5df19c
Pipeline #449556746 passed with stage
in 3 minutes and 24 seconds
......@@ -41,7 +41,7 @@ def get_session(user_agent: str,
response.raise_for_status()
session.hooks['response'].append(do_raising)
default_retry_args = {'total': 5, 'backoff_factor': 1}
default_retry_args: typing.Dict[str, typing.Any] = {'total': 5, 'backoff_factor': 1}
default_retry_args.update(retry_args or {})
retry = Retry(**default_retry_args)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment