(self)
| 189 | return extension |
| 190 | |
| 191 | def update_state_loop(self): |
| 192 | while True: |
| 193 | self.update_state() |
| 194 | self.loaded.set() |
| 195 | log.info(f'Checking for updates in {vsc.Utility.seconds_to_human_time(self.interval)}') |
| 196 | time.sleep(self.interval) |
| 197 | |
| 198 | def on_post(self, req, resp): |
| 199 | if 'filters' not in req.media or 'criteria' not in req.media['filters'][0] or 'flags' not in req.media: |
nothing calls this directly
no test coverage detected