def Env(inputs, outputs, validate = True): e = _Env(inputs, outputs) e.extend(destroyhandler.DestroyHandler()) e.extend(ReplaceValidate()) if validate: e.validate() return e
def Env(inputs, outputs, validate=True): e = FunctionGraph(inputs, outputs, clone=False) e.attach_feature(destroyhandler.DestroyHandler()) e.attach_feature(ReplaceValidate()) if validate: e.validate() return e
def Env(inputs, outputs, validate = True): e = _Env(inputs, outputs) e.attach_feature(destroyhandler.DestroyHandler()) e.attach_feature(ReplaceValidate()) if validate: e.validate() return e