select_jobs_by_tag¶ scheduler.base.scheduler.select_jobs_by_tag(jobs: set[BaseJobType], tags: set[str], any_tag: bool) → set[BaseJobType][source]¶ Select BaseJobs by matching tags. Parameters: jobsset[BaseJob]Unfiltered set of BaseJobs. tagsset[str]Tags to filter BaseJobs. any_tagboolFalse: To match a BaseJob all tags have to match. True: To match a BaseJob at least one tag has to match. Returns: set[BaseJob]Selected BaseJobs.