Exemplo n.º 1
0
def Env(inputs, outputs, validate = True):
    e = _Env(inputs, outputs)
    e.extend(destroyhandler.DestroyHandler())
    e.extend(ReplaceValidate())
    if validate:
        e.validate()
    return e
Exemplo n.º 2
0
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
Exemplo n.º 3
0
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