MCPcopy Create free account
hub / github.com/kubernetes-client/python / to_dict

Method to_dict

kubernetes/base/dynamic/resource.py:327–328  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

325 return field
326
327 def to_dict(self):
328 return self.__serialize(self.attributes)
329
330 def to_str(self):
331 return repr(self)

Callers 1

__repr__Method · 0.95

Calls 1

__serializeMethod · 0.95

Tested by

no test coverage detected