kaxil commented on a change in pull request #17349:
URL: https://github.com/apache/airflow/pull/17349#discussion_r765793081



##########
File path: airflow/operators/python.py
##########
@@ -405,6 +409,19 @@ def execute(self, context: Context):
 
     def execute_callable(self):
         with TemporaryDirectory(prefix='venv') as tmp_dir:
+            requirements_file_name = f'{tmp_dir}/requirements.txt'
+
+            if isinstance(self.requirements, List):

Review comment:
       ```suggestion
               if isinstance(self.requirements, list):
   ```
   
   doesn't make a difference but just for consistency across code-base. No 
strong preference 




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


Reply via email to