-
-
Notifications
You must be signed in to change notification settings - Fork 3
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: typos in models #164
fix: typos in models #164
Changes from 3 commits
e391d95
2ad8cbb
c50b394
97bac22
bb1aea3
e0dbe07
ba3930c
0b2e43e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,4 +42,4 @@ repos: | |
- id: poetry-check | ||
|
||
default_language_version: | ||
python: python3.9 | ||
python: python3.11 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do not do unrelated changes in prs |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,10 +46,10 @@ class Achievement(BaseModel): | |
id: int | ||
name: str | ||
slug: str | ||
desciption: str | ||
description: str # typo desciption | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above |
||
grouping: str | ||
icon_url: str | ||
mode: Gamemode | ||
mode: Optional[Gamemode] = None | ||
ordering: int | ||
instructions: Optional[str] = None | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ class Event(BaseModel): | |
type: EventType | ||
r"""Information on types: https://github.com/ppy/osu-web/blob/master/resources/assets/lib/interfaces/event-json.ts""" | ||
parse_error: Optional[bool] = None | ||
achievment: Optional[Achievement] = None | ||
achievement: Optional[Achievement] = None # typo achievment | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please do not add comments like these to the code |
||
user: Optional[EventUser] = None | ||
beatmap: Optional[EventBeatmap] = None | ||
beatmapset: Optional[EventBeatmapset] = None | ||
|
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.
Do not do unrelated changes in prs