-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
breaking changeSemVer Major: breaking changeSemVer Major: breaking changedifficulty/easyEasy issue (less than one day)Easy issue (less than one day)kind/featureNew feature (functional change) or feature enhancementNew feature (functional change) or feature enhancementkind/stabilityImpact the reliability/stability of the codeImpact the reliability/stability of the codepriority/lowIssue to solve at some pointIssue to solve at some point
Description
Currently Task.batch_wait()
returns newly created Task
objects (because it goes through ListableResource.list()
which exclusively takes pk
as argument (and recreates new objects).
I would have expected that my initial Task
objects would be directly refreshed by batch_wait()
.
Solution: make ListableResource.list()
also accept class objects, in addition to the current pk
, and use that in batch_wait()
.
This would be a breaking change but that's OK.
Metadata
Metadata
Assignees
Labels
breaking changeSemVer Major: breaking changeSemVer Major: breaking changedifficulty/easyEasy issue (less than one day)Easy issue (less than one day)kind/featureNew feature (functional change) or feature enhancementNew feature (functional change) or feature enhancementkind/stabilityImpact the reliability/stability of the codeImpact the reliability/stability of the codepriority/lowIssue to solve at some pointIssue to solve at some point