turbaszek commented on a change in pull request #10956:
URL: https://github.com/apache/airflow/pull/10956#discussion_r501249165
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1050,23 +754,17 @@ class SchedulerJob(BaseJob): # pylint:
disable=too-many-instance-attributes
def __init__(
self,
- dag_id: Optional[str] = None,
- dag_ids: Optional[List[str]] = None,
subdir: str = settings.DAGS_FOLDER,
num_runs: int = conf.getint('scheduler', 'num_runs'),
+ num_times_parse_dags: int = -1,
Review comment:
If we are using it only for tests (I suppose to set it to something
other than -1) then wouldn't it be better to use something like `if unittest
then...` as we already do in many places?
----------------------------------------------------------------
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]