Code styling tweaks to the recorder integration (#86030)
This commit is contained in:
parent
5b2c1d701a
commit
c5dedb7a79
9 changed files with 82 additions and 43 deletions
|
@ -121,7 +121,10 @@ class PurgeEntitiesTask(RecorderTask):
|
|||
|
||||
@dataclass
|
||||
class PerodicCleanupTask(RecorderTask):
|
||||
"""An object to insert into the recorder to trigger cleanup tasks when auto purge is disabled."""
|
||||
"""An object to insert into the recorder to trigger cleanup tasks.
|
||||
|
||||
Trigger cleanup tasks when auto purge is disabled.
|
||||
"""
|
||||
|
||||
def run(self, instance: Recorder) -> None:
|
||||
"""Handle the task."""
|
||||
|
@ -195,7 +198,10 @@ class AdjustStatisticsTask(RecorderTask):
|
|||
|
||||
@dataclass
|
||||
class WaitTask(RecorderTask):
|
||||
"""An object to insert into the recorder queue to tell it set the _queue_watch event."""
|
||||
"""An object to insert into the recorder queue.
|
||||
|
||||
Tell it set the _queue_watch event.
|
||||
"""
|
||||
|
||||
commit_before = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue