Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSGN: Allow functional definitions of custom nodes #1639

Open
cpcloud opened this Issue Sep 27, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@cpcloud
Copy link
Member

cpcloud commented Sep 27, 2018

In #1637, the idea of being able to define your own nodes using decorators came up.

For example (and I'm speculating here),

@postgres.udf([dt.double, dt.double], dt.double)
def my_node(x, y, **kwargs):
    return # things in the "space" of the backend, in this case, it would be SQLAlchemy code

We should think through what this would look like and discuss any relevant details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.