Skip to content

Potential DAG (regression?) "bug": name unicity not enforced! #40

@thorwhalen

Description

@thorwhalen

Try playing with this code:

from meshed import DAG, FuncNode

def foo(x):
    return x + 1

t = foo

def foo(y):
    return y * 2

tt = foo

d = DAG([t, tt])
d.func_nodes
f, ff = d.func_nodes
f.func_label, ff.func_label

image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions