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 2022/01/04 12:30:53 UTC
[GitHub] [airflow] potiuk commented on a change in pull request #20650: Fxing MyPy issues for airflow/dag_processing/processor.py
potiuk commented on a change in pull request #20650:
URL: https://github.com/apache/airflow/pull/20650#discussion_r778045341
##########
File path: airflow/dag_processing/processor.py
##########
@@ -149,8 +150,8 @@ def _run_file_processor(
try:
# redirect stdout/stderr to log
- with redirect_stdout(StreamLogWriter(log, logging.INFO)), redirect_stderr(
- StreamLogWriter(log, logging.WARN)
+ with redirect_stdout(StreamLogWriter(log, logging.INFO)), redirect_stderr( # type: ignore
Review comment:
Hmm. I thought this has been handled alredy by StremLogWriter implementing IO? what's the problem 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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org