From a6fd86afb8099b107a34efb0a9cc4064d70da1da Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 23 Sep 2022 23:51:56 +1000 Subject: [PATCH] docs: Fix a few typos (#1929) 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 Signed-off-by: Tim Gates Co-authored-by: Daniel Vaz Gaspar --- docs/installation.rst | 2 +- flask_appbuilder/filemanager.py | 2 +- flask_appbuilder/tests/test_api.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 049c3a754c..5c486e4fee 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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). diff --git a/flask_appbuilder/filemanager.py b/flask_appbuilder/filemanager.py index 2658b17634..3f1404056b 100644 --- a/flask_appbuilder/filemanager.py +++ b/flask_appbuilder/filemanager.py @@ -243,7 +243,7 @@ def get_file_original_name(name): """ Use this function to get the user's original filename. Filename is concatenated with _sep_, to avoid collisions. - Use this function on your models on an aditional function + Use this function on your models on an additional function :: diff --git a/flask_appbuilder/tests/test_api.py b/flask_appbuilder/tests/test_api.py index 29dbfd24af..e057346210 100644 --- a/flask_appbuilder/tests/test_api.py +++ b/flask_appbuilder/tests/test_api.py @@ -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"