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

Function generateFunctionArguments

python/executor.py:605–615  ·  view source on GitHub ↗
(arg_list)

Source from the content-addressed store, hash-verified

603 ]
604
605def generateFunctionArguments(arg_list):
606 args = []
607 for param in arg_list:
608 name = param['properties']['identifier']
609 args.append(ast.arg(name))
610 return ast.arguments(
611 posonlyargs=[],
612 args=args,
613 kwonlyargs=[],
614 kw_defaults=[],
615 defaults=[])
616
617def generateTracedFunctionBlock(func_id, block_nodes):
618 key = ast.Name(id=SPLOOT_KEY, ctx=ast.Load())

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected