Skip to content

Commit

Permalink
docs: Fix a few typos (#1929)
Browse files Browse the repository at this point in the history
There are small typos in:
- docs/installation.rst
- flask_appbuilder/filemanager.py
- flask_appbuilder/tests/test_api.py

Fixes:
- Should read `without` rather than `wihout`.
- Should read `depends` rather than `dependes`.
- Should read `additional` rather than `aditional`.

Signed-off-by: Tim Gates <tim.gates@iress.com>

Signed-off-by: Tim Gates <tim.gates@iress.com>
Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com>
  • Loading branch information
timgates42 and dpgaspar authored Sep 23, 2022
1 parent a72ce03 commit a6fd86a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Installation Requirements

pip installs all the requirements for you.

Flask App Builder dependes on
Flask App Builder depends on

- flask : The web framework, this is what we're extending.
- flask-sqlalchemy : DB access (see SQLAlchemy).
Expand Down
2 changes: 1 addition & 1 deletion flask_appbuilder/filemanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def get_file_original_name(name):
"""
Use this function to get the user's original filename.
Filename is concatenated with <UUID>_sep_<FILE NAME>, to avoid collisions.
Use this function on your models on an aditional function
Use this function on your models on an additional function
::
Expand Down
2 changes: 1 addition & 1 deletion flask_appbuilder/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def test_auth_authorization_browser(self):
uri = "api/v1/model1api/1"
rv = client.get(uri)
self.assertEqual(rv.status_code, 401)
# Test access wihout cookie or JWT
# Test access without cookie or JWT
rv = self.browser_logout(client)
# Test access with browser login
uri = "api/v1/model1browserlogin/1"
Expand Down

0 comments on commit a6fd86a

Please sign in to comment.