wabot/docs/api.rst
Mathew Sir Guest the best 154344e94a refactor: rename sessions submodule to _sessions to avoid shadowing sessions()
wabot/__init__.py defines def sessions(...) and also had a sessions.py
submodule, so wabot.sessions (attribute) resolved to the function,
shadowing the module for import wabot.sessions as m style access. This
is the same class of collision that browser.py -> _browser.py already
fixed. Renaming to _sessions.py removes the ambiguity and lets
docs/api.rst drop the :no-index: Sphinx workaround in favor of plain
autoclass directives on the public SessionRecord/SessionStore
re-exports.
2026-07-12 15:37:56 -06:00

27 lines
511 B
ReStructuredText

API reference
=============
.. automodule:: wabot
:members: browser, sessions, destroy
.. autoclass:: wabot.Browser
:members:
.. autoclass:: wabot.Page
:members:
.. automodule:: wabot.fields
:members: PageObject, TextField, SelectField, CheckField, NullField
.. automodule:: wabot.pacing
:members:
.. autoclass:: wabot.SessionRecord
:members:
.. autoclass:: wabot.SessionStore
:members:
.. automodule:: wabot.hosts
:members: ExternalServer, ManagedService, attach, service_alive