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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]