MCPcopy Create free account
hub / github.com/SplootCode/splootcode / generateSet

Function generateSet

python/executor.py:60–63  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

58 return ast.Tuple(els, ast.Load())
59
60def generateSet(node):
61 els = [generateAstExpression(el) for el in node['childSets']['elements']]
62 els = [el for el in els if el is not None]
63 return ast.Set(els)
64
65def generateDict(node):
66 kv_pairs = node['childSets']['elements']

Callers 1

Calls 1

generateAstExpressionFunction · 0.70

Tested by

no test coverage detected