funcnodes 0.2.2__tar.gz → 0.2.3__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.
- {funcnodes-0.2.2 → funcnodes-0.2.3}/PKG-INFO +1 -1
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/__init__.py +1 -1
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/data.py +10 -1
- {funcnodes-0.2.2 → funcnodes-0.2.3}/pyproject.toml +1 -1
- {funcnodes-0.2.2 → funcnodes-0.2.3}/LICENSE +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/README.md +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/__main__.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/_logging.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/basic_nodes/__init__.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/basic_nodes/files.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/basic_nodes/logic.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/basic_nodes/math.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/config.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/eventmanager.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/exceptions.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/__init__.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/__init__.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/asset-manifest.json +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/css/style.css +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/favicon.ico +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/index.html +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/js/424.js +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/js/424.js.LICENSE.txt +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/js/main.js +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/js/main.js.LICENSE.txt +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/logo192.png +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/logo512.png +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/manifest.json +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/robots.txt +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/run.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/io.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/lib/__init__.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/lib/lib.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/lib/libfinder.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/lib/libparser.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/node.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/nodemaker.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/nodespace.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/triggerstack.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/utils/__init__.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/utils/data.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/utils/nodeutils.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/utils/serialization.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/worker/__init__.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/worker/external_worker.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/worker/loop.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/worker/remote_worker.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/worker/websocket.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/worker/worker.py +0 -0
- {funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/worker/worker_manager.py +0 -0
|
@@ -40,7 +40,16 @@ class DataEnum(enum.Enum):
|
|
|
40
40
|
elif isinstance(a, cls):
|
|
41
41
|
return a
|
|
42
42
|
else:
|
|
43
|
-
|
|
43
|
+
try:
|
|
44
|
+
return cls(a)
|
|
45
|
+
except ValueError as e:
|
|
46
|
+
if isinstance(a, str):
|
|
47
|
+
if a.startswith(cls.__name__ + "."):
|
|
48
|
+
a = a[len(cls.__name__) + 1 :]
|
|
49
|
+
if a in cls.__members__:
|
|
50
|
+
return cls[a]
|
|
51
|
+
|
|
52
|
+
raise e
|
|
44
53
|
|
|
45
54
|
@classmethod
|
|
46
55
|
def v(cls: Type[ET], a: Union[ET, str, Any]) -> Any:
|
|
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
|
{funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/js/424.js.LICENSE.txt
RENAMED
|
File without changes
|
|
File without changes
|
{funcnodes-0.2.2 → funcnodes-0.2.3}/funcnodes/frontends/funcnodes_react/js/main.js.LICENSE.txt
RENAMED
|
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
|
|
File without changes
|