mik-laj commented on a change in pull request #9783:
URL: https://github.com/apache/airflow/pull/9783#discussion_r453348550



##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -94,32 +96,33 @@ def __init__(
         self._failure_callback_requests = failure_callback_requests
 
         # The process that was launched to process the given .
-        self._process = None
+        self._process: Optional[multiprocessing.process.BaseProcess] = None
         # The result of Scheduler.process_file(file_path).
-        self._result = None
+        self._result: Optional[Tuple[List[SimpleDag], int]] = None
         # Whether the process is done running.
         self._done = False
         # When the process started.
-        self._start_time = None
+        self._start_time: Optional[datetime.datetime] = None
         # This ID is use to uniquely name the process / thread that's launched
         # by this processor instance
         self._instance_id = DagFileProcessorProcess.class_creation_counter
 
-        self._parent_channel = None
-        self._result_queue = None

Review comment:
       We don't use this variable.




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


Reply via email to