Skip to content

Commit

Permalink
Add documentation about import_session() and import_async_session()
Browse files Browse the repository at this point in the history
  • Loading branch information
ivknv committed Jan 1, 2024
1 parent 100e235 commit 54b020f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api_reference/sessions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ Asynchronous Implementations

.. autoclass:: yadisk.sessions.async_httpx_session.AsyncHTTPXSession
:show-inheritance:

Importing Session Classes
#########################

You can use the following functions to import a session class by name:

.. autofunction:: yadisk.import_session
.. autofunction:: yadisk.import_async_session

0 comments on commit 54b020f

Please sign in to comment.