MCPcopy Create free account
hub / github.com/Haptein/powerplan / __init__

Method __init__

src/process.py:13–19  ·  view source on GitHub ↗
(self, profiles=None)

Source from the content-addressed store, hash-verified

11 '''
12
13 def __init__(self, profiles=None):
14 self.triggerapps = self._get_triggerapps(profiles)
15 self.triggerapps_found = set()
16 self.profiles = profiles
17 self.pid_names = dict()
18 self.pids_last = set()
19 self.update()
20
21 def update(self):
22 # ensure previously identified pids are checked

Callers 1

resetMethod · 0.95

Calls 2

_get_triggerappsMethod · 0.95
updateMethod · 0.95

Tested by

no test coverage detected