MCPcopy
hub / github.com/kubernetes-client/python / get_default_copy

Method get_default_copy

kubernetes/client/configuration.py:273–284  ·  view source on GitHub ↗

Return new instance of configuration. This method returns newly created, based on default constructor, object of Configuration class or returns a copy of default configuration passed by the set_default method. :return: The configuration object.

(cls)

Source from the content-addressed store, hash-verified

271
272 @classmethod
273 def get_default_copy(cls):
274 """Return new instance of configuration.
275
276 This method returns newly created, based on default constructor,
277 object of Configuration class or returns a copy of default
278 configuration passed by the set_default method.
279
280 :return: The configuration object.
281 """
282 if cls._default is not None:
283 return copy.deepcopy(cls._default)
284 return Configuration()
285
286 @property
287 def logger_file(self):

Callers 15

__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

ConfigurationClass · 0.70

Tested by 2

apply_proxy_to_confFunction · 0.36