Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove requests from public interfaces #157

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ Memento API. We implement a Python client that can speak both.
.. automethod:: close
.. automethod:: parse_memento_headers

.. autoclass:: wayback.WaybackSession
.. autoclass:: wayback.WaybackHttpAdapter

.. automethod:: reset
.. automethod:: request
.. automethod:: close

Utilities
---------
Expand Down Expand Up @@ -150,4 +151,4 @@ Exception Classes

.. autoclass:: wayback.exceptions.WaybackRetryError

.. autoclass:: wayback.exceptions.SessionClosedError
.. autoclass:: wayback.exceptions.AlreadyClosedError
11 changes: 6 additions & 5 deletions src/wayback/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from ._version import __version__, __version_tuple__ # noqa: F401

from ._utils import memento_url_data, RateLimit # noqa
from ._utils import memento_url_data, RateLimit # noqa: F401

from ._models import ( # noqa
from ._models import ( # noqa: F401
CdxRecord,
Memento)

from ._client import ( # noqa
from ._client import ( # noqa: F401
Mode,
WaybackClient,
WaybackSession)
WaybackClient)

from ._http import WaybackHttpAdapter # noqa: F401
Loading