beanmachine.ppl.compiler.gen_bmg_python module
- class beanmachine.ppl.compiler.gen_bmg_python.GeneratedGraphPython(bmg: beanmachine.ppl.compiler.bm_graph_builder.BMGraphBuilder)
Bases:
object
- code: str
- node_to_graph_id: Dict[beanmachine.ppl.compiler.bmg_nodes.BMGNode, int]
- query_to_query_id: Dict[beanmachine.ppl.compiler.bmg_nodes.Query, int]
- beanmachine.ppl.compiler.gen_bmg_python.to_bmg_python(bmg: beanmachine.ppl.compiler.bm_graph_builder.BMGraphBuilder) beanmachine.ppl.compiler.gen_bmg_python.GeneratedGraphPython