uranusjr commented on code in PR #34026: URL: https://github.com/apache/airflow/pull/34026#discussion_r1315449185
########## airflow/jobs/base_job_runner.py: ########## @@ -27,7 +27,7 @@ from airflow.jobs.job import Job from airflow.serialization.pydantic.job import JobPydantic -J = TypeVar("J", "Job", "JobPydantic", "Job | JobPydantic") +J = TypeVar("J", "Job", "Job") Review Comment: This type variable (and the runner being a generic) is not needed if you don’t need multiple classes. ########## airflow/jobs/base_job_runner.py: ########## @@ -27,7 +27,7 @@ from airflow.jobs.job import Job from airflow.serialization.pydantic.job import JobPydantic -J = TypeVar("J", "Job", "JobPydantic", "Job | JobPydantic") +J = TypeVar("J", "Job", "Job") Review Comment: This type variable (and the runner being a generic) is not needed if you don’t need multiple classes. -- 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org