Skip to content

Comments

Add option to limit dates to certain weekdays#43

Open
fapdash wants to merge 4 commits intoEMPRI-DEVOPS:masterfrom
fapdash:add-limit-day
Open

Add option to limit dates to certain weekdays#43
fapdash wants to merge 4 commits intoEMPRI-DEVOPS:masterfrom
fapdash:add-limit-day

Conversation

@fapdash
Copy link
Contributor

@fapdash fapdash commented Feb 16, 2026

Based on #42

Maybe privacy.limitDay should be named privacy.limitDays?

TODOs

  • Rename privacy.limit to privacy.limitHour or something.
  • Accept old privacy.limit configuration, but warn about deprecation.
  • Don't accept old and new config key in the same config.
  • Test new config checks and warnings?
  • Update code to also use limitHour and limitWeekdays instead of just changing the external config

Moved code to use importlib.resources, which is available in Python
>=3.9

Fixes EMPRI-DEVOPS#41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant