Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Conversation

@apprehensivetarget
Copy link
Contributor

No description provided.


def fetch_grades(pronote_client: pronotepy.Client) -> Optional[Generator]:
fetched_grades = pronote_client.periods[0].grades
fetched_grades = pronote_client.current_period.grades
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! It works fine (wasn't aware of that, and I think I just did [0] for testing purpose and forget to search the real production method). Anyway, thanks for your help :D

@drawbu drawbu changed the title Update pronote.py pour que les notes du second trimestre soient aussi postés 🐛 Fix grades fetch to not just include first semester's grades Dec 24, 2022
@drawbu drawbu merged commit ad2adbb into drawbu:main Dec 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants