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

Add PyAlias bindings #216

Merged
merged 3 commits into from
Feb 22, 2023
Merged

Add PyAlias bindings #216

merged 3 commits into from
Feb 22, 2023

Conversation

jdye64
Copy link
Contributor

@jdye64 jdye64 commented Feb 22, 2023

Which issue does this PR close?

Closes #215

Comment on lines +55 to +61
fn alias(&self) -> PyResult<String> {
Ok(self.alias_name.clone())
}

fn expr(&self) -> PyResult<PyExpr> {
Ok(self.expr.clone())
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nit: I don't think we need to wrap these in results

Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Bindings for Expr::Alias
2 participants