Skip to content

Commit

Permalink
document retry spec
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Nov 1, 2024
1 parent 929b20e commit a88a31a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/source/api/experiment_spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Experiment Spec
:members:
:undoc-members:

.. autoclass:: beaker.RetrySpec
:members:
:undoc-members:

.. autoclass:: beaker.TaskSpec
:members:
:undoc-members:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
Skip documenting these Pydantic-specific attributes.
"""
del app, what, obj, skip, options
exclude = name in {"model_config", "model_fields"}
exclude = name in {"model_config", "model_fields", "model_computed_fields"}
return True if exclude else None


Expand Down

0 comments on commit a88a31a

Please sign in to comment.