MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / getInstance

Method getInstance

service/network.py:67–71  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

65
66 @classmethod
67 def getInstance(cls):
68 if cls._instance is None:
69 cls._instance = Network()
70
71 return cls._instance
72
73 def get(self, url, type, **kwargs):
74 self.__networkAccessCheck(type)

Callers 2

__networkAccessCheckMethod · 0.45
__getProxiesMethod · 0.45

Calls 1

NetworkClass · 0.85

Tested by

no test coverage detected