Skip to content

Commit

Permalink
dev(narugo): add docs for hfutils.utils.session
Browse files Browse the repository at this point in the history
  • Loading branch information
narugo1992 committed Aug 9, 2024
1 parent 1ead25d commit ced5b21
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/api_doc/utils/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ hfutils.utils
download
number
path
session
tqdm_
walk

31 changes: 31 additions & 0 deletions docs/source/api_doc/utils/session.rst
Original file line number Diff line number Diff line change
@@ -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



0 comments on commit ced5b21

Please sign in to comment.