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

PE lessons (based on @FEgor04's work in #2) #4

Merged
merged 2 commits into from
Sep 23, 2023
Merged

Conversation

iburakov
Copy link
Owner

@iburakov iburakov commented Sep 23, 2023

Couldn't reopen #2 that was closed a while ago (the branch was deleted), so re-implemented this feature based on @FEgor04's work. Thanks! Let me know if you want to be listed as a contributor, you'll have to create a dummy commit.

This is based on @FEgor04's work in PR #2.

- add PE lessons gathering and mapping
- refactor project structure to separate responsibilities
- switch to asyncio for io ops parallelization
- make logging more detailed
- improve type hints
- implement error handling
This is done so empty calendars are not produced on errors (effectively
removing all events from the user's calendar). Calendar apps tend to
leave old events in place if they fail to update them (non-200 response)
and it seems like it's better to have stale events rather than nothing
while the error is being fixed.
@iburakov iburakov merged commit dd506fb into main Sep 23, 2023
4 checks passed
@iburakov iburakov deleted the feature/pe-lessons branch September 23, 2023 14:24
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