Use a dataclass
or NamedTuple
for DispatchingActor._scheduled_events
items
#58
Labels
part:actor
Affects the dispatching actor
type:tech-debt
Improves the project without visible changes for users
What's needed?
We need to make the code more naturally readable, as expressions like:
are not super readable.
Proposed solution
Instead of
tuple[datetime, Dispatch]
, use something like:So such expressions can become at least:
The text was updated successfully, but these errors were encountered: