Skip to content

Create a dataclass for indexer worker TaskStatus #4534

Closed

Description

Current Situation

#4330 added the new catalog indexer worker. For each triggered task, the indexer worker API maintains a dictionary of data related to the task's status.

Suggested Improvement

It would be better to define a dataclass or named tuple for this information, which would also allow us to have meaningful typing around the tasks dictionary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions