MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / get_children

Function get_children

share/docs/prettymethods.py:54–59  ·  view source on GitHub ↗
(parameters_node)

Source from the content-addressed store, hash-verified

52
53
54def get_children(parameters_node):
55 if is_method(parameters_node):
56 # Remove 'self' parameter
57 return parameters_node.children[1:]
58 else:
59 return parameters_node.children
60
61
62def patch_node(node, text=None, children=None, *, constructor=None):

Callers 4

patch_nodeFunction · 0.85
xfFunction · 0.85
bracketsFunction · 0.85
prettymethods.pyFile · 0.85

Calls 1

is_methodFunction · 0.85

Tested by

no test coverage detected