Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ flatten
Function
flatten
src/bonsai/test/core/bootstrap.py:266–271 ·
view source on GitHub ↗
(iterable)
Source
from the content-addressed store, hash-verified
264
265
266
def
flatten(iterable):
267
for
item in iterable:
268
if
isinstance(item, (list, tuple)):
269
yield
from
flatten(item)
270
else
:
271
yield
item
272
273
274
class
Call(TypedDict):
Callers
6
get_layerset_information
Method · 0.85
get_element_data
Function · 0.85
create_comm
Method · 0.85
create
Method · 0.85
create
Method · 0.85
decorate
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected