(self)
| 25 | self.is_active = False |
| 26 | |
| 27 | def push_quotation(self): |
| 28 | while self.is_active: |
| 29 | try: |
| 30 | response_data = self.fetch_quotation() |
| 31 | except: |
| 32 | self.wait() |
| 33 | continue |
| 34 | event = Event(event_type=self.EventType, data=response_data) |
| 35 | self.event_engine.put(event) |
| 36 | self.wait() |
| 37 | |
| 38 | def fetch_quotation(self): |
| 39 | # return your quotation |
nothing calls this directly
no test coverage detected