Skip to content

Commit

Permalink
Add Rating Field
Browse files Browse the repository at this point in the history
- Add Rating Field
  • Loading branch information
Nginearing authored Oct 11, 2024
1 parent 68c166d commit 1c6136c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tagstudio/src/core/library/alchemy/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,4 @@ class _FieldID(Enum):
GUEST_ARTIST = DefaultField(id=28, name="Guest Artist", type=FieldTypeEnum.TEXT_LINE)
COMPOSER = DefaultField(id=29, name="Composer", type=FieldTypeEnum.TEXT_LINE)
COMMENTS = DefaultField(id=30, name="Comments", type=FieldTypeEnum.TEXT_LINE)
RATING = DefaultField(id=31, name="Rating", type=FieldTypeEnum.RATING)

Check failure on line 161 in tagstudio/src/core/library/alchemy/fields.py

View workflow job for this annotation

GitHub Actions / mypy

[mypy] tagstudio/src/core/library/alchemy/fields.py#L161

"type[FieldTypeEnum]" has no attribute "RATING" [attr-defined]
Raw output
/home/runner/work/TagStudioTesting/TagStudioTesting/tagstudio/src/core/library/alchemy/fields.py:161:54: error: "type[FieldTypeEnum]" has no attribute "RATING"  [attr-defined]

0 comments on commit 1c6136c

Please sign in to comment.