MCPcopy Index your code
hub / github.com/dataforseo/PythonClient / get_default

Method get_default

dataforseo_client/api_client.py:90–101  ·  view source on GitHub ↗

Return new instance of ApiClient. This method returns newly created, based on default constructor, object of ApiClient class or returns a copy of default ApiClient. :return: The ApiClient object.

(cls)

Source from the content-addressed store, hash-verified

88
89 @classmethod
90 def get_default(cls):
91 """Return new instance of ApiClient.
92
93 This method returns newly created, based on default constructor,
94 object of ApiClient class or returns a copy of default
95 ApiClient.
96
97 :return: The ApiClient object.
98 """
99 if cls._default is None:
100 cls._default = ApiClient()
101 return cls._default
102
103 @classmethod
104 def set_default(cls, default):

Callers 14

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

ApiClientClass · 0.85

Tested by

no test coverage detected