This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 7b7c5b1d98224476342c8469abdcd798ef1eb16a Author: Do Son Tung <[email protected]> AuthorDate: Sun Jun 14 07:21:37 2020 +0700 Remove unused airflow import from docs (#9274) The bash code block which demonstrates the creating user import airflow but unused it. So that line is redundant --- docs/security.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/security.rst b/docs/security.rst index c653e55..e6bced8 100644 --- a/docs/security.rst +++ b/docs/security.rst @@ -68,7 +68,6 @@ attack. Creating a new user has to be done via a Python REPL on the same machine $ python Python 2.7.9 (default, Feb 10 2015, 03:28:08) Type "help", "copyright", "credits" or "license" for more information. - >>> import airflow >>> from airflow import models, settings >>> from airflow.contrib.auth.backends.password_auth import PasswordUser >>> user = PasswordUser(models.User())
