Skip to content

Any automatic adaptor for normal Python Function? #201

@Readm

Description

@Readm

Seem a basic node can be generated from a Python function if the parameters are declared with correct type info?
Is there any simple wrapper? like:

@ryven_node
def add(int: a, int: b) -> int:
    return a+b

I didn't find a such simple example, is there any?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions