uranusjr commented on code in PR #31175:
URL: https://github.com/apache/airflow/pull/31175#discussion_r1189431596
##########
airflow/executors/kubernetes_executor.py:
##########
@@ -820,9 +821,11 @@ def get_task_log(self, ti: TaskInstance, try_number: int)
-> tuple[list[str], li
tail_lines=100,
_preload_content=False,
)
-
+ ansi_escape = re.compile(r"\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])")
Review Comment:
Some comments would be helpful, everyone hates needing to read regex to
understand what it does!
--
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]