diff --git a/docs/source/api_doc/utils/index.rst b/docs/source/api_doc/utils/index.rst index bfa8088324..a4eb28e71e 100644 --- a/docs/source/api_doc/utils/index.rst +++ b/docs/source/api_doc/utils/index.rst @@ -13,6 +13,7 @@ hfutils.utils download number path + session tqdm_ walk diff --git a/docs/source/api_doc/utils/session.rst b/docs/source/api_doc/utils/session.rst new file mode 100644 index 0000000000..cd30ba5b5a --- /dev/null +++ b/docs/source/api_doc/utils/session.rst @@ -0,0 +1,31 @@ +hfutils.utils.session +================================= + +.. currentmodule:: hfutils.utils.session + +.. automodule:: hfutils.utils.session + + + +TimeoutHTTPAdapter +----------------------------------------------------- + +.. autoclass:: TimeoutHTTPAdapter + :members: __init__, send + + + +get_requests_session +----------------------------------------------------- + +.. autofunction:: get_requests_session + + + +get_random_ua +----------------------------------------------------- + +.. autofunction:: get_random_ua + + +