agronholm / agronholm/apscheduler

Implement schedule filters

Abierto
#906 4 comentarios 2 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
7.6k
Forks
783
Merge medio
4 d 8 h
PR fusionados (30 d)
5

Descripción

### Things to check first

- [X] I have searched the existing issues and didn't find my feature already requested there

### Feature description

Schedules would receive the ability to filter run times returned from a trigger. If a filter rejects a run time, then the next fire time would be requested from the trigger, until a fire time is received that passes all the filters.

This function was previously served by `AndTrigger`, but it has proven to be very problematic in practice. There might be grounds for removal of `AndTrigger` if this feature is implemented.

### Use case

A common use case for this is skipping holidays, as that requires special logic that would ordinarily require customizing a trigger.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.