uranusjr commented on code in PR #34647:
URL: https://github.com/apache/airflow/pull/34647#discussion_r1345419393
##########
airflow/cli/utils.py:
##########
@@ -40,3 +40,10 @@ def is_stdout(fileio: IOBase) -> bool:
.. warning:: *fileio* must be open for this check to be successful.
"""
return fileio.fileno() == sys.stdout.fileno()
+
+
+def print_export_output(command_type: str, exported_items: Collection,
file_is_stdout: bool, file_path: str):
Review Comment:
It would be better to simply pass in the file object as an argument and
calculate both values here.
--
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]