Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/STIXProject/python-stix
/ yield_and_descend
Function
yield_and_descend
stix/utils/walk.py:82–89 ·
view source on GitHub ↗
(name, item)
Source
from the content-addressed store, hash-verified
80
81
""
"
82
def
yield_and_descend(name, item):
83
yield
(path, attr_name(name), item)
84
85
if
item is None:
86
return
87
88
for
path_info in iterpath(item, path):
89
yield
path_info
90
91
if
path is None:
92
path = []
Callers
1
iterpath
Function · 0.85
Calls
2
attr_name
Function · 0.85
iterpath
Function · 0.85
Tested by
no test coverage detected