Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit b2a4ddf

Browse files
committed
Docs: Removed hard coded links
1 parent 2ab6faa commit b2a4ddf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/source/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Custom exceptions
1616
-----------------
1717

1818
.. warning:: For any of these errors to work, you need to register the error handlers in your Flask app.
19-
To do this, you can call :meth:`flask_utils.errors.register_error_handlers` with your Flask app as an argument.
19+
To do this, you can call :meth:`register_error_handlers` with your Flask app as an argument.
2020

2121
.. code-block:: python
2222

flask_utils/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def validate_params(
186186
and the values are the expected types.
187187
:param allow_empty: Allow empty values for parameters. Defaults to False.
188188
189-
:raises flask_utils.errors.badrequest.BadRequestError: If the JSON body is malformed,
189+
:raises BadRequestError: If the JSON body is malformed,
190190
the Content-Type header is missing or incorrect, required parameters are missing,
191191
or parameters are of the wrong type.
192192

flask_utils/errors/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def _register_error_handlers(application: Flask) -> None:
2424
2525
.. versionchanged:: 0.5.0
2626
Made the function private. If you want to register the custom error handlers, you need to
27-
pass `register_error_handlers=True` to the :class:`flask_utils.extension.FlaskUtils` class
28-
or to :meth:`flask_utils.extension.FlaskUtils.init_app`
27+
pass `register_error_handlers=True` to the :class:`FlaskUtils` class
28+
or to :meth:`FlaskUtils.init_app`
2929
3030
.. code-block:: python
3131

0 commit comments

Comments
 (0)