MCPcopy Index your code
hub / github.com/kubernetes-client/python / to_str

Method to_str

kubernetes/client/models/v1_taint.py:199–201  ·  view source on GitHub ↗

Returns the string representation of the model

(self)

Source from the content-addressed store, hash-verified

197 return result
198
199 def to_str(self):
200 """Returns the string representation of the model"""
201 return pprint.pformat(self.to_dict())
202
203 def __repr__(self):
204 """For `print` and `pprint`"""

Callers 1

__repr__Method · 0.95

Calls 1

to_dictMethod · 0.95

Tested by

no test coverage detected