8000 Release v3.1 by jacebrowning · Pull Request #155 · flask-api/flask-api · GitHub
[go: up one dir, main page]

Skip to content

Release v3.1 #155

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

Merged
merged 18 commits into from
Jun 5, 2023
Merged
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
Prev Previous commit
Next Next commit
docs: Fix a few typos
There are small typos in:
- flask_api/request.py
- flask_api/tests/__init__.py

Fixes:
- Should read `specifying` rather than `specifing`.
- Should read `renderers` rather than `rendereres`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
  • Loading branch information
timgates42 committed Jul 18, 2022
commit ba2ddd23cc9f3583c1dcd4695124f92fd15daa01
4 changes: 2 additions & 2 deletions flask_api/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ def _perform_method_overloading(self):
Perform method and content type overloading.

Provides support for browser PUT, PATCH, DELETE & other requests,
by specifing a '_method' form field.
by specifying a '_method' form field.

Also provides support for browser non-form requests (eg JSON),
by specifing '_content' and '_content_type' form fields.
by specifying '_content' and '_content_type' form fields.
"""
if not hasattr(self, '_method'):
self.method = super().method
Expand Down
2 changes: 1 addition & 1 deletion flask_api/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This is a fudge that allows us to easily specify test modules.
# For example:
# ./runtests test_parsers
# ./runtests test_rendereres.RendererTests.test_render_json
# ./runtests test_renderers.RendererTests.test_render_json
import os

modules = [filename.rsplit('.', 1)[0]
Expand Down
0