5151from .vendor .requests .exceptions import RequestException
5252
5353# Disable pyopenssl. It breaks SSL connection pool when SSL connection is
54- # closed unexpetedly by the server. And we don't need SNI anyway.
54+ # closed unexpectedly by the server. And we don't need SNI anyway.
5555try :
5656 from .vendor .requests .packages .urllib3 .contrib import pyopenssl
5757 pyopenssl .extract_from_urllib3 ()
@@ -133,7 +133,7 @@ def __init__(self, endpoint=None, application_key=None,
133133 or ``consumer_key`` is not provided, this client will attempt to locate
134134 from them from environment, ~/.ovh.cfg or /etc/ovh.cfg.
135135
136- See :py:mod:`ovh.config` for more informations on supported
136+ See :py:mod:`ovh.config` for more information on supported
137137 configuration mechanisms.
138138
139139 ``timeout`` can either be a float or a tuple. If it is a float it
@@ -161,7 +161,7 @@ def __init__(self, endpoint=None, application_key=None,
161161 try :
162162 self ._endpoint = ENDPOINTS [endpoint ]
163163 except KeyError :
164- raise InvalidRegion ("Unknow endpoint %s. Valid endpoints: %s" ,
164+ raise InvalidRegion ("Unknown endpoint %s. Valid endpoints: %s" ,
165165 endpoint , ENDPOINTS .keys ())
166166
167167 # load keys
@@ -236,7 +236,7 @@ def request_consumerkey(self, access_rules, redirect_url=None):
236236 will return a ``consumerKey`` and a ``validationUrl``. The end user must
237237 visit the ``validationUrl``, authenticate and validate the requested
238238 ``access_rules`` to link his account to the ``consumerKey``. Once this
239- is done, he may optionaly be redirected to ``redirect_url`` and the
239+ is done, he may optionally be redirected to ``redirect_url`` and the
240240 application can start using the ``consumerKey``.
241241
242242 The new ``consumerKey`` is automatically loaded into
@@ -329,7 +329,7 @@ def get(self, _target, _need_auth=True, **kwargs):
329329 'GET' :py:func:`Client.call` wrapper.
330330
331331 Query string parameters can be set either directly in ``_target`` or as
332- keywork arguments. If an argument collides with a Python reserved
332+ keyword arguments. If an argument collides with a Python reserved
333333 keyword, prefix it with a '_'. For instance, ``from`` becomes ``_from``.
334334
335335 :param string _target: API method to call
@@ -350,7 +350,7 @@ def put(self, _target, _need_auth=True, **kwargs):
350350 """
351351 'PUT' :py:func:`Client.call` wrapper
352352
353- Body parameters can be set either directly in ``_target`` or as keywork
353+ Body parameters can be set either directly in ``_target`` or as keyword
354354 arguments. If an argument collides with a Python reserved keyword,
355355 prefix it with a '_'. For instance, ``from`` becomes ``_from``.
356356
@@ -365,7 +365,7 @@ def post(self, _target, _need_auth=True, **kwargs):
365365 """
366366 'POST' :py:func:`Client.call` wrapper
367367
368- Body parameters can be set either directly in ``_target`` or as keywork
368+ Body parameters can be set either directly in ``_target`` or as keyword
369369 arguments. If an argument collides with a Python reserved keyword,
370370 prefix it with a '_'. For instance, ``from`` becomes ``_from``.
371371
0 commit comments