Skip to content

Conversation

@ivaylo-matov
Copy link
Owner

Add a compatibility shim to allow "node-first" static methods to be called as instance methods, restoring behavior from older Python engines.

In Python.NET 3.x, calling static methods like ConnectionNode.SubNodesOfSize(node, size) via an instance (e.g., connNode.SubNodesOfSize(2)) no longer implicitly passes the instance as the first argument, leading to an overload resolution error. This shim dynamically re-exposes a small set of known "node-first" static methods as instance methods to ensure existing Dynamo graphs continue to function as expected.


Open in Cursor Open in Web

Co-authored-by: ipetrov <ipetrov@archilizer.com>
@cursor
Copy link

cursor bot commented Dec 16, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 2 commits December 16, 2025 17:42
Co-authored-by: ipetrov <ipetrov@archilizer.com>
Co-authored-by: ipetrov <ipetrov@archilizer.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants