computation-graph 62__tar.gz → 63__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {computation_graph-62 → computation_graph-63}/PKG-INFO +1 -1
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/debug.py +1 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/duplication.py +6 -6
- {computation_graph-62 → computation_graph-63}/computation_graph.egg-info/PKG-INFO +1 -1
- {computation_graph-62 → computation_graph-63}/setup.py +1 -1
- {computation_graph-62 → computation_graph-63}/LICENSE.md +0 -0
- {computation_graph-62 → computation_graph-63}/README.md +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/__init__.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/base_types.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/__init__.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/composers_test.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/condition.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/condition_test.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/lift.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/logic.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/memory.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/composers/memory_test.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/graph.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/graph_runners.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/graph_test.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/legacy.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/run.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/signature.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/trace/__init__.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/trace/ascii.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/trace/graphviz.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/trace/graphviz_test.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/trace/mermaid.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph/trace/trace_utils.py +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph.egg-info/SOURCES.txt +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph.egg-info/dependency_links.txt +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph.egg-info/requires.txt +0 -0
- {computation_graph-62 → computation_graph-63}/computation_graph.egg-info/top_level.txt +0 -0
- {computation_graph-62 → computation_graph-63}/pyproject.toml +0 -0
- {computation_graph-62 → computation_graph-63}/setup.cfg +0 -0
|
@@ -6,6 +6,7 @@ from typing import Dict
|
|
|
6
6
|
import gamla
|
|
7
7
|
|
|
8
8
|
from computation_graph import base_types, graph
|
|
9
|
+
from computation_graph.composers import debug
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
def duplicate_function(func):
|
|
@@ -15,14 +16,13 @@ def duplicate_function(func):
|
|
|
15
16
|
async def inner(*args, **kwargs):
|
|
16
17
|
return await func(*args, **kwargs)
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
else:
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
@functools.wraps(func)
|
|
22
|
+
def inner(*args, **kwargs):
|
|
23
|
+
return func(*args, **kwargs)
|
|
23
24
|
|
|
24
|
-
inner
|
|
25
|
-
return inner
|
|
25
|
+
return debug.name_callable(inner, f"duplicate of {func.__name__}")
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
def _duplicate_computation_edge(get_duplicated_node):
|
|
@@ -7,7 +7,7 @@ with open("README.md", "r") as fh:
|
|
|
7
7
|
setuptools.setup(
|
|
8
8
|
name="computation-graph",
|
|
9
9
|
python_requires=">=3",
|
|
10
|
-
version="
|
|
10
|
+
version="63",
|
|
11
11
|
long_description=_LONG_DESCRIPTION,
|
|
12
12
|
long_description_content_type="text/markdown",
|
|
13
13
|
packages=setuptools.find_namespace_packages(),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{computation_graph-62 → computation_graph-63}/computation_graph.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|