Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/w/s/wsp_control-HEAD/src/models.py   wsp_control(Download)
from datetime import datetime
 
from config import PIN, LITERS_PER_REV, TEMP_ENDPOINT, PUMP_ENDPOINT, AUTH
 
 
    def check(self):
        " Check the state of the output pin (to the relay) "
        r = requests.post(PUMP_ENDPOINT, {'is_on': self.is_on()}, auth=AUTH)