Skip to content

Commit

Permalink
Update progress_tracker.py (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeygrable94 committed Jun 17, 2024
1 parent bfe2d7a commit dd89702
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions taskiq/depends/progress_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class TaskProgress(GenericModel, Generic[_ProgressType]):
state: Union[TaskState, str]
meta: Optional[_ProgressType]

class Config:
arbitrary_types_allowed = True


class ProgressTracker(Generic[_ProgressType]):
"""Task's dependency to set progress."""
Expand Down

0 comments on commit dd89702

Please sign in to comment.