MCPcopy Create free account
hub / github.com/STIXProject/python-stix / dict_iter

Function dict_iter

stix/utils/__init__.py:304–305  ·  view source on GitHub ↗
(items)

Source from the content-addressed store, hash-verified

302
303 """
304 def dict_iter(items):
305 return [x.to_dict() if is_dictable(x) else x for x in items]
306
307
308 d = {}

Callers 1

to_dictFunction · 0.85

Calls 2

is_dictableFunction · 0.85
to_dictMethod · 0.45

Tested by

no test coverage detected