Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ from_json
Method
from_json
src/python-common/ceph/deployment/inventory.py:36–38 ·
view source on GitHub ↗
(cls, input)
Source
from the content-addressed store, hash-verified
34
35
@classmethod
36
def
from_json(cls, input):
37
# type: (List[Dict[str, Any]]) -> Devices
38
return
cls([Device.from_json(i)
for
i in input])
39
40
def
copy(self):
41
# type: () -> Devices
Callers
nothing calls this directly
Calls
1
from_json
Method · 0.45
Tested by
no test coverage detected