Skip to content

Commit

Permalink
fix python imports to be compatible with 2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maltesander committed Oct 11, 2023
1 parent 7c50fa2 commit 9153db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/operator-binary/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::collections::BTreeMap;

pub const PYTHON_IMPORTS: &[&str] = &[
"import os",
"from airflow.www.fab_security.manager import (AUTH_DB, AUTH_LDAP, AUTH_OAUTH, AUTH_OID, AUTH_REMOTE_USER)",
"from flask_appbuilder.const import (AUTH_DB, AUTH_LDAP, AUTH_OAUTH, AUTH_OID, AUTH_REMOTE_USER)",
"basedir = os.path.abspath(os.path.dirname(__file__))",
"WTF_CSRF_ENABLED = True",
];
Expand Down

0 comments on commit 9153db4

Please sign in to comment.