You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/04 13:05:38 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #19395: Add tests on variable.py

potiuk commented on a change in pull request #19395:
URL: https://github.com/apache/airflow/pull/19395#discussion_r742814368



##########
File path: airflow/models/variable.py
##########
@@ -223,6 +223,7 @@ def rotate_fernet_key(self):
         if self._val and self.is_encrypted:
             self._val = fernet.rotate(self._val.encode('utf-8')).decode()
 
+    @staticmethod

Review comment:
       Ough. Maybe that's why I was under the impression it wasn't working before - becuase it got the "class"  object passed as key !




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org