[airflow] Avoid implicit DAG schedule (AIR301) (#14581)

This commit is contained in:
Tzu-ping Chung 2024-11-26 20:38:18 +08:00 committed by GitHub
parent f3dac27e9a
commit fbff4dec3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 133 additions and 2 deletions

View file

@ -1289,6 +1289,7 @@ impl<'a> SemanticModel<'a> {
"typing" => self.seen.insert(Modules::TYPING),
"typing_extensions" => self.seen.insert(Modules::TYPING_EXTENSIONS),
"attr" | "attrs" => self.seen.insert(Modules::ATTRS),
"airflow" => self.seen.insert(Modules::AIRFLOW),
_ => {}
}
}
@ -1860,6 +1861,7 @@ bitflags! {
const FLASK = 1 << 24;
const ATTRS = 1 << 25;
const REGEX = 1 << 26;
const AIRFLOW = 1 << 27;
}
}