feluelle commented on a change in pull request #6596: [AIRFLOW-6004] Untangle
Executors class to avoid cyclic imports. Depends on [AIRFLOW-6010]
URL: https://github.com/apache/airflow/pull/6596#discussion_r350249972
##########
File path: airflow/executors/celery_executor.py
##########
@@ -212,6 +211,8 @@ def trigger_tasks(self, open_slots: int) -> None:
num_processes = min(len(task_tuples_to_send),
self._sync_parallelism)
send_pool = Pool(processes=num_processes)
+ import pydevd_pycharm
+ pydevd_pycharm.settrace('10.0.9.198', port=56374,
stdoutToServer=True, stderrToServer=True)
Review comment:
Should we create a pre-commit hook to check for dev-tools/commands in the
code?
----------------------------------------------------------------
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]
With regards,
Apache Git Services