You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/06/14 00:25:18 UTC
[airflow] branch v1-10-test updated: Remove unused airflow import
from docs (#9274)
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
The following commit(s) were added to refs/heads/v1-10-test by this push:
new 9c6ae4c Remove unused airflow import from docs (#9274)
9c6ae4c is described below
commit 9c6ae4c113178bf457e0fc8b08f1ef1449ebe166
Author: Do Son Tung <do...@gmail.com>
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())