-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Templating #34
Templating #34
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
Hi @abe-101, I added templating as I thought would be useful. The yaml specification allows for a lot of flexibility in the future as well as backwards compatibility and a unified interface for Python/command line usage. |
calendars=self.calendars, attribute=attribute | ||
) | ||
self.merged_calendar.add(attribute, value) | ||
# add events | ||
for cal in self.calendars: | ||
for component in cal.walk("VEVENT"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct me if wrong but the VEVENT templating would go here?
so as we loop through vevent component we would need to apply the VEVENT template changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct! the other components could also be added.
I don't want to prioritize this feature for now |
I will close this and we can use it when it is needed - if at all. |
Description of change
This adds templating.
Have a look at the tests added ...
Contributes to #17
Contributes to #21
Pull-Request Checklist
main
branchFixes #0000