MCPcopy Create free account
hub / github.com/SpaceNetLab/StarryNet / __call__

Method __call__

starrynet/log.py:69–72  ·  view source on GitHub ↗
(cls, *args, **kw)

Source from the content-addressed store, hash-verified

67 cls.instance = None
68
69 def __call__(cls, *args, **kw):
70 if cls.instance is None:
71 cls.instance = super(Singleton, cls).__call__(*args, **kw)
72 return cls.instance
73
74
75class StarrynetLogger(Logger, object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected