def reset(): """Resets internal seed and creates a new dataflow graph. Note that no streams or operators can be re-used safely. """ global _num_py_operators _num_py_operators = 0 _internal.reset()
def reset(): """Create a new dataflow graph. Note: A call to this function renders the previous dataflow graph unsafe to use. """ logger.info("Resetting the default graph.") global _num_py_operators _num_py_operators = 0 _internal.reset()