Skip to content

Commit

Permalink
Meddle with name field
Browse files Browse the repository at this point in the history
  • Loading branch information
George V. Kouryachy (Fr. Br. George) committed Oct 8, 2023
1 parent be2746f commit 07e9d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hworker/depot/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class TaskScore(StoreObject):

name: str
rating: float
_public_fields: set[str] = {"ID", "USER_ID", "TASK_ID", "rating", "timestamp"}
_public_fields: set[str] = {"ID", "USER_ID", "TASK_ID", "name", "rating", "timestamp"}
_is_versioned: bool = False

def __init__(self, name: str = None, rating: float = None, **kwargs):
Expand Down Expand Up @@ -231,7 +231,7 @@ class UserScore(StoreObject):

name: str
rating: float
_public_fields: set[str] = {"ID", "USER_ID", "TASK_ID", "rating", "timestamp"}
_public_fields: set[str] = {"ID", "USER_ID", "TASK_ID", "name", "rating", "timestamp"}
_is_versioned: bool = False

def __init__(self, name: str = None, rating: float = None, **kwargs):
Expand Down

0 comments on commit 07e9d13

Please sign in to comment.