Skip to content

Commit 03dd3b0

Browse files
committed
revert
1 parent c64b8aa commit 03dd3b0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/auth.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,9 @@ If the ``auth`` field is not explicitly set, the SDK will automatically try to s
110110
.. note::
111111

112112
The maximum `lifetime <https://yandex.cloud/docs/iam/concepts/authorization/iam-token#lifetime>`_ of an IAM token is 12 hours. Keep this in mind when sending requests with authentication based on an IAM token specified in a string, object of the ``IAMTokenAuth`` class, or the ``YC_IAM_TOKEN`` environment variable.
113+
114+
Authentication methods classes
115+
------------------------------
116+
117+
.. automodule:: yandex_cloud_ml_sdk.auth
118+
:no-undoc-members:

docs/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ def setup(_):
9898
def patched_find_obj(self, env, modname, name, *args, **kwargs):
9999
if modname and modname.startswith('yandex_cloud_ml_sdk._retry'):
100100
modname = modname.replace('_retry', 'retry')
101-
elif modname and modname.startswith('yandex_cloud_ml_sdk._auth'):
102-
modname = modname.replace('_auth', 'auth')
103101
return original_find_obj(self, env, modname, name, *args, **kwargs)
104102

105103
PythonDomain.find_obj = patched_find_obj

0 commit comments

Comments
 (0)