Spaces:
Paused
Paused
Download app/monitors/base.py from Ethscriptions/coinpush: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/Ethscriptions/coinpush/resolve/main/app/monitors/base.py
- Command line
-
hf download hf://spaces/Ethscriptions/coinpush/app/monitors/base.py
-
curl -L -o base.py https://huggingface.co/spaces/Ethscriptions/coinpush/resolve/main/app/monitors/base.py
387 Bytes
| class BaseMonitor: | |
| """Base interface for platform monitor plugins.""" | |
| monitor_type = "base" | |
| def __init__(self, store, state_store=None): | |
| self.store = store | |
| self.state_store = state_store | |
| def start(self): | |
| raise NotImplementedError | |
| def stop(self): | |
| raise NotImplementedError | |
| def run_once(self): | |
| raise NotImplementedError | |