`LogicalClassifer` and `LogicalNode` both need to sandbox the Python.
LogicalClassiferandLogicalNodeboth need to sandbox the Python.