Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/m/o/mozpool-4.1.5/mozpool/lifeguard/devicemachine.py   mozpool(Download)
class DeviceStateMachine(statemachine.StateMachine):
 
    def __init__(self, device_name, db):
        statemachine.StateMachine.__init__(self, 'device', device_name, db)
        self.device_name = device_name

src/m/o/mozpool-4.1.5/mozpool/mozpool/requestmachine.py   mozpool(Download)
class RequestStateMachine(statemachine.StateMachine):
 
    def __init__(self, request_id, db):
        statemachine.StateMachine.__init__(self, 'request', request_id, db)
        self.request_id = request_id

src/m/o/mozpool-4.1.5/mozpool/test/unit/test_statemachine.py   mozpool(Download)
class StateMachineSubclass(statemachine.StateMachine):
 
    _counters = {}
    _state_name = 'state1'
 
    class StateMachineSubclass2(statemachine.StateMachine):
        pass
    @StateMachineSubclass2.state_class
    class state2(statemachine.State):
        pass