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

Refactor dates handling #121

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Refactor dates handling #121

wants to merge 7 commits into from

Conversation

leclairm
Copy link
Contributor

@leclairm leclairm commented Feb 6, 2025

Fix #119, #97 and incidentally #108

Short summary: essentially remove as many None as possible from date related attributes in order to make the code more understandable.

Methods

  • Insert dedicated classes to test types instead of testing for None
  • Move some logic to the yaml models although it was already argued against once

Parts to treat

  • Previous _WhenBasemodel
  • ConfigCycle

@leclairm leclairm linked an issue Feb 6, 2025 that may be closed by this pull request
@leclairm leclairm linked an issue Feb 6, 2025 that may be closed by this pull request
@leclairm leclairm changed the title None dates refactor Refactor dates handling Feb 6, 2025
@leclairm leclairm linked an issue Feb 6, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant