1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-13 08:58:35 +03:00

Small typing fix for openstack_client

This commit is contained in:
Adolfo Gómez García 2023-02-21 17:17:45 +01:00
parent 9192a0a822
commit 2d48320ac8
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -84,8 +84,8 @@ def getRecurringUrlJson(
session: requests.Session,
headers: typing.Dict[str, str],
key: str,
params: typing.Dict[str, str] = None,
errMsg: str = None,
params: typing.Optional[typing.Mapping[str, str]] = None,
errMsg: typing.Optional[str] = None,
timeout: int = 10,
) -> typing.Iterable[typing.Any]:
counter = 0
@ -133,7 +133,6 @@ def authProjectRequired(func: typing.Callable[..., RT]) -> typing.Callable[...,
return ensurer
class Client: # pylint: disable=too-many-public-methods
PUBLIC = 'public'
PRIVATE = 'private'