MCPcopy Create free account
hub / github.com/pyload/pyload / state

Method state

module/lib/beaker/synchronization.py:110–116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108 self.reading = False
109
110 def state(self):
111 if not self._state.has():
112 state = SynchronizerImpl.SyncState()
113 self._state.put(state)
114 return state
115 else:
116 return self._state.get()
117 state = property(state)
118
119 def release_read_lock(self):

Callers 2

Calls 3

hasMethod · 0.80
putMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected