mik-laj commented on a change in pull request #10559:
URL: https://github.com/apache/airflow/pull/10559#discussion_r476720110



##########
File path: airflow/models/variable.py
##########
@@ -181,3 +181,17 @@ def rotate_fernet_key(self):
         fernet = get_fernet()
         if self._val and self.is_encrypted:
             self._val = fernet.rotate(self._val.encode('utf-8')).decode()
+
+
+def get_variable(key: str) -> Optional[str]:

Review comment:
       ```suggestion
   def _get_secret_variable(key: str) -> Optional[str]:
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to