jscheffl commented on code in PR #65943:
URL: https://github.com/apache/airflow/pull/65943#discussion_r3236808495


##########
providers/edge3/src/airflow/providers/edge3/cli/dataclasses.py:
##########
@@ -72,17 +73,48 @@ class Job:
     """Holds all information for a task/job to be executed as bundle."""
 
     edge_job: EdgeJobFetched
-    process: Process
+    # Process can be either a subprocess.Popen (for the spawn path) or a
+    # multiprocessing.Process (for the fork path)
+    process: subprocess.Popen | Process

Review Comment:
   Nit: You could make it directly being a pydoc :-D
   ```suggestion
       process: subprocess.Popen | Process
       """Can be subprocess.Popen (for the spawn path) or 
multiprocessing.Process (for the fork path)."""
   ```



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

Reply via email to