MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / instance

Method instance

KVCOMM/utils/globals.py:5–8  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

3
4 @classmethod
5 def instance(cls):
6 if cls._instance is None:
7 cls._instance = cls()
8 return cls._instance
9
10 def reset(self):
11 self.value = 0.0

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected