airflow.models.crypto
¶
Module Contents¶
Classes¶
This class is only used for TypeChecking (for IDEs, mypy, etc) |
|
A "Null" encryptor class that doesn't encrypt or decrypt but that presents |
Functions¶
Deferred load of Fernet key. |
Attributes¶
- class airflow.models.crypto.FernetProtocol[source]¶
Bases:
airflow.typing_compat.Protocol
This class is only used for TypeChecking (for IDEs, mypy, etc)
- class airflow.models.crypto.NullFernet[source]¶
A "Null" encryptor class that doesn't encrypt or decrypt but that presents a similar interface to Fernet.
The purpose of this is to make the rest of the code not have to know the difference, and to only display the message once, not 20 times when airflow db init is ran.