Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
__serialize
Method · 0.95
Tested by
no test coverage detected