nodebpy 520.30.0__tar.gz → 520.30.1__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.
- {nodebpy-520.30.0 → nodebpy-520.30.1}/PKG-INFO +1 -1
- {nodebpy-520.30.0 → nodebpy-520.30.1}/pyproject.toml +1 -1
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/export/codegen.py +8 -4
- nodebpy-520.30.1/src/nodebpy/py.typed +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/README.md +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/assets/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/assets/__main__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/assets/_codegen.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/assets/_library.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/assets/_pipeline.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/_registry.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/_socket_order.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/_utils.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/accessor.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/asset.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/items.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/layout.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/mixins.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/node.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/socket.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/builder/tree.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/export/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/export/_floats.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/export/diagram.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/export/parity.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/export/plot.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/export/web_render.py +0 -0
- /nodebpy-520.30.0/src/nodebpy/py.typed → /nodebpy-520.30.1/src/nodebpy/lib/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/VENDORED.md +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/balancing.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/graph.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/ordering.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/ranking.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/realize.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/stacking.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/structs.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/sugiyama.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/x_coords.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/arrange/y_coords.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/config.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/lib/nodearrange/utils.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/live.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/_mixins.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/assets.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/color.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/converter.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/distort.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/filter.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/group.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/input.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/interface.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/manual.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/matte.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/output.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/compositor/vector.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/assets.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/attribute.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/color.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/converter.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/geometry.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/grid.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/group.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/groups.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/input.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/interface.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/manual.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/output.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/texture.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/utilities.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/vector.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/geometry/zone.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/__init__.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/assets.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/color.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/converter.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/grid.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/group.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/input.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/manual.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/output.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/script.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/shader.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/texture.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/nodes/shader/vector.py +0 -0
- {nodebpy-520.30.0 → nodebpy-520.30.1}/src/nodebpy/types.py +0 -0
|
@@ -1775,7 +1775,7 @@ def _factory_call(
|
|
|
1775
1775
|
from the node's value get explicit literal kwargs.
|
|
1776
1776
|
"""
|
|
1777
1777
|
skip_key = _normalize(skip_input_id) if skip_input_id else None
|
|
1778
|
-
best: tuple[_Factory, dict[str, Expr]] | None = None
|
|
1778
|
+
best: tuple[_Factory, dict[str, Expr], tuple[int, int]] | None = None
|
|
1779
1779
|
|
|
1780
1780
|
for factory in _class_factories(cls):
|
|
1781
1781
|
if not _factory_state_matches(node, factory.props):
|
|
@@ -1828,17 +1828,21 @@ def _factory_call(
|
|
|
1828
1828
|
continue
|
|
1829
1829
|
if not _eq(socket.default_value, default):
|
|
1830
1830
|
call_kwargs[param] = Lit(socket.default_value)
|
|
1831
|
-
|
|
1831
|
+
# Prefer the factory baking the most constants; on a tie, the one
|
|
1832
|
+
# passing fewest properties through (``DeleteGeometry.edge()`` over
|
|
1833
|
+
# ``DeleteGeometry.all(domain="EDGE")``).
|
|
1834
|
+
rank = (len(factory.props), -len(passed))
|
|
1835
|
+
if faithful and (best is None or rank > best[2]):
|
|
1832
1836
|
ordered = {
|
|
1833
1837
|
param: call_kwargs[param]
|
|
1834
1838
|
for param in factory.param_defaults
|
|
1835
1839
|
if param in call_kwargs
|
|
1836
1840
|
}
|
|
1837
|
-
best = (factory, ordered)
|
|
1841
|
+
best = (factory, ordered, rank)
|
|
1838
1842
|
|
|
1839
1843
|
if best is None:
|
|
1840
1844
|
return None
|
|
1841
|
-
factory, call_kwargs = best
|
|
1845
|
+
factory, call_kwargs, _ = best
|
|
1842
1846
|
# Leading consecutive parameters render positionally (g.Math.sine(x)),
|
|
1843
1847
|
# matching how factory shortcuts are written by hand.
|
|
1844
1848
|
args: list[Expr] = []
|
|
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
|
|
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
|
|
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
|
|
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
|