def set_password(self, value):
        if value:
            try:
                self._password = FERNET.encrypt(bytes(value, 'utf-8')).decode()
                self.is_encrypted = True
            except __HOLE__:
                self._password = value
                self.is_encrypted = False
dataset/ETHPy150Open airbnb/airflow/airflow/models.py/Connection.set_password