MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / get_children

Function get_children

scripts/icons_update.py:90–95  ·  view source on GitHub ↗
(parent)

Source from the content-addressed store, hash-verified

88
89# Traverse the tree we just composed to add all children for all needed roots
90def get_children(parent):
91 children = set()
92 for child in mkt_tree.get(parent, ()):
93 children.add(child)
94 children.update(get_children(child))
95 return children
96
97
98query_items = 'select distinct it.iconID from invtypes as it inner join invgroups as ig on it.groupID = ig.groupID where ig.categoryID != 2118'

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected