airflow.models.crypto
¶
Module Contents¶
-
class
airflow.models.crypto.
FernetProtocol
[source]¶ Bases:
airflow.typing_compat.Protocol
This class is only used for TypeChecking (for IDEs, mypy, pylint, 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.