From 135ecc9cc8ea6b9d3ee98b3aa6123c87b8896a6a Mon Sep 17 00:00:00 2001 From: Furkan Date: Mon, 7 Oct 2024 18:33:20 +0300 Subject: [PATCH] fix: init `_should_stop` in constructor --- src/daq/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daq/models.py b/src/daq/models.py index 689de42..d55992c 100644 --- a/src/daq/models.py +++ b/src/daq/models.py @@ -16,6 +16,7 @@ class DAQJob: def __init__(self, config: Any): self.config = config + self._should_stop = False def start(self): pass