Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static Source allow to exclude date range #1634

Open
5ila5 opened this issue Jan 4, 2024 Discussed in #1621 · 0 comments
Open

Static Source allow to exclude date range #1634

5ila5 opened this issue Jan 4, 2024 Discussed in #1621 · 0 comments
Labels
enhancement New feature or request (excluding source request)

Comments

@5ila5
Copy link
Collaborator

5ila5 commented Jan 4, 2024

Discussed in #1621

Originally posted by tonyv78 January 2, 2024
Hi to everybody, is the first time that i write in Github, i would like to ask if is possible to set a range of dates on the variable
"excludes" from the documentation there are example only with single date not with ranges of dates.

waste_collection_schedule:
  sources:
    - name: static
      args:
        type: Altpapier
        frequency: WEEKLY
        interval: 4
        start: '2022-01-14'
        until: '2022-12-31'
        excludes: # Add exception for the recurrence
          - '2022-07-29'
          - '2022-09-23'
        dates: # Manually add dates that are not part of the recurrence
          - '2022-07-28'
          - '2022-09-22'

I need to exclude a period of 4 month so if a need to insert day by day it will be time consuming it will be better to have the
possibility to insert a range of dates.

Thanks in advance to anyone that can help me.

@5ila5 5ila5 added the enhancement New feature or request (excluding source request) label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request (excluding source request)
Projects
None yet
Development

No branches or pull requests

1 participant