Skip to content

Commit

Permalink
remove deprecated patch_request_class helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 committed Apr 7, 2021
1 parent 53234dd commit 55c7721
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 59 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ unreleased
----------
- raise test coverage to 100%
- use official `Pallets` theme for the documentation
- remove deprecated `patch_request_class` helper function; use `MAX_CONTENT_LENGTH` instead.


0.5.0
Expand Down
2 changes: 0 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ Application Setup
-----------------
.. autofunction:: configure_uploads

.. autofunction:: patch_request_class


Extension Constants
-------------------
Expand Down
3 changes: 0 additions & 3 deletions src/flask_uploads/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
# This huge list of imports is kept on purpose,
# as `Flask-Uploads` provided them as public API,
# and `Flask-Reuploaded` tries to stay compatible.
from .backwards_compatibility import patch_request_class

from .exceptions import UploadNotAllowed

from .extensions import ALL
Expand Down Expand Up @@ -40,7 +38,6 @@
"configure_uploads",
"extension",
"lowercase_ext",
"patch_request_class",
"config_for_set",
"ALL",
"AllExcept",
Expand Down
54 changes: 0 additions & 54 deletions src/flask_uploads/backwards_compatibility.py

This file was deleted.

0 comments on commit 55c7721

Please sign in to comment.