Skip to content

Commit

Permalink
Feedback: Move warnings content out of _testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Jun 7, 2024
1 parent 51548d6 commit ebb6591
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
14 changes: 0 additions & 14 deletions docs/core/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,3 @@ attributes should be tested before use, as in
.. autoclass:: globus_sdk.exc.ConsentRequiredInfo
:members:
:show-inheritance:

Warnings
--------

The following warnings can be emitted by the Globus SDK to indicate a
problem which is not necessarily an error.

.. seealso::

:ref:`managing-warnings`

.. autoclass:: globus_sdk.RemovedInV4Warning
:members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/core/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Underlying components of the Globus SDK.
responses
paging
exceptions
warnings

.. toctree::
:hidden:
Expand Down
12 changes: 8 additions & 4 deletions docs/testing/warnings.rst → docs/core/warnings.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
.. _managing-warnings:
Warnings
========

Managing warnings
=================
The following warnings can be emitted by the Globus SDK to indicate a
problem, or a future change, which is not necessarily an error.

.. autoclass:: globus_sdk.RemovedInV4Warning
:members:
:show-inheritance:

The Globus SDK issues deprecation warnings to notify developers of upcoming changes.

By default, Python will not display deprecation warnings to end users,
but testing frameworks like pytest will enable deprecation warnings for developers.
Expand Down
1 change: 0 additions & 1 deletion docs/testing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ Globus SDK _testing

getting_started
reference
warnings
methods/index

0 comments on commit ebb6591

Please sign in to comment.