def build_delete_node_by_hash(manager: Manager) -> Callable[[BELGraph, str], None]:
@in_place_transformation<EOL>def delete_node_by_hash(graph: BELGraph, node_hash: str) -> None:<EOL><INDENT>"""<STR_LIT>"""<EOL>node = manager.get_dsl_by_hash(node_hash)<EOL>graph.remove_node(node)<EOL><DEDENT>return delete_node_by_hash<EOL>
Make a delete function that's bound to the manager.