Skip to content

Implement Obelisk Core #8

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

Draft
wants to merge 2 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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ Building is as follows:
# uv run sphinx-build -M html docs/source/ docs/build/
```

In case of major restructuring, it may be needed to clean up the contents of `docs/_autosummary` and potentially other rst files in `docs`,
followed by re-running the build.
Manually triggering sphinx-apidoc is unnecessary.

## Credits

Base implementation originally by Pieter Moens <Pieter.Moens@ugent.be>,
Expand Down
41 changes: 41 additions & 0 deletions docs/source/_autosummary/obelisk.asynchronous.Obelisk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
obelisk.asynchronous.Obelisk
============================

.. currentmodule:: obelisk.asynchronous

.. autoclass:: Obelisk
:members:
:show-inheritance:
:inherited-members:


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~Obelisk.__init__
~Obelisk.fetch_single_chunk
~Obelisk.http_post
~Obelisk.query
~Obelisk.query_time_chunked
~Obelisk.send





.. rubric:: Attributes

.. autosummary::

~Obelisk.grace_period
~Obelisk.token
~Obelisk.token_expires
~Obelisk.retry_strategy
~Obelisk.kind
~Obelisk.log


37 changes: 37 additions & 0 deletions docs/source/_autosummary/obelisk.asynchronous.base.BaseClient.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
obelisk.asynchronous.base.BaseClient
====================================

.. currentmodule:: obelisk.asynchronous.base

.. autoclass:: BaseClient
:members:
:show-inheritance:
:inherited-members:


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~BaseClient.__init__
~BaseClient.http_post





.. rubric:: Attributes

.. autosummary::

~BaseClient.grace_period
~BaseClient.token
~BaseClient.token_expires
~BaseClient.retry_strategy
~BaseClient.kind
~BaseClient.log


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
obelisk.sync.producer
=====================
obelisk.asynchronous.base
=========================

.. automodule:: obelisk.sync.producer
.. automodule:: obelisk.asynchronous.base


.. rubric:: Classes
Expand All @@ -10,5 +10,5 @@ obelisk.sync.producer
:toctree:
:template: custom-class-template.rst

Producer
BaseClient

37 changes: 0 additions & 37 deletions docs/source/_autosummary/obelisk.asynchronous.client.Client.rst

This file was deleted.

41 changes: 41 additions & 0 deletions docs/source/_autosummary/obelisk.asynchronous.client.Obelisk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
obelisk.asynchronous.client.Obelisk
===================================

.. currentmodule:: obelisk.asynchronous.client

.. autoclass:: Obelisk
:members:
:show-inheritance:
:inherited-members:


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~Obelisk.__init__
~Obelisk.fetch_single_chunk
~Obelisk.http_post
~Obelisk.query
~Obelisk.query_time_chunked
~Obelisk.send





.. rubric:: Attributes

.. autosummary::

~Obelisk.grace_period
~Obelisk.token
~Obelisk.token_expires
~Obelisk.retry_strategy
~Obelisk.kind
~Obelisk.log


2 changes: 1 addition & 1 deletion docs/source/_autosummary/obelisk.asynchronous.client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ obelisk.asynchronous.client
:toctree:
:template: custom-class-template.rst

Client
Obelisk

This file was deleted.

14 changes: 0 additions & 14 deletions docs/source/_autosummary/obelisk.asynchronous.consumer.rst

This file was deleted.

13 changes: 0 additions & 13 deletions docs/source/_autosummary/obelisk.asynchronous.consumer_test.rst

This file was deleted.

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions docs/source/_autosummary/obelisk.asynchronous.producer.rst

This file was deleted.

19 changes: 8 additions & 11 deletions docs/source/_autosummary/obelisk.asynchronous.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
obelisk.asynchronous
obelisk.asynchronous
====================

.. automodule:: obelisk.asynchronous


.. rubric:: Modules
.. rubric:: Classes

.. autosummary::
:toctree:
:template: custom-module-template.rst
:recursive:

client
consumer
consumer_test
producer
.. autosummary::
:toctree:
:template: custom-class-template.rst

Obelisk

Loading