-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix StudentenWerkMenuParser #263
Fix StudentenWerkMenuParser #263
Conversation
dates += [date] | ||
return dates | ||
@staticmethod | ||
def extract_date_from_html(tree: html.Element) -> Optional[datetime.date]: |
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.
Python does not quite have a concept of public/private.
I can access private methods (those starting with __
) without any problems from outside the module.
I might get a linting warning/.., but those can be ignored for tests
=> I would prefer the following and the comments can be removed. We can do this in a followup if you'd like
def extract_date_from_html(tree: html.Element) -> Optional[datetime.date]: | |
def __extract_date_from_html(tree: html.Element) -> Optional[datetime.date]: |
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.
LGTM, thanks
Fixes #257 by using the overview instead of the daily details pages