-
Notifications
You must be signed in to change notification settings - Fork 61
feat: Allow join-free alignment of analytic expressions #1168
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
Conversation
bigframes/core/nodes.py
Outdated
def replace_child( | ||
self, new_child: BigFrameNode, validate: bool = False | ||
) -> UnaryNode: | ||
new_self = replace(self, child=new_child) # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to open up the file to figure out this is from dataclasses. Per https://google.github.io/styleguide/pyguide.html#s2.2-imports please import dataclasses
, not individual functions / classes from it. dataclasses
is not one of the allowed exceptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed this import
bigframes/core/nodes.py
Outdated
self, new_child: BigFrameNode, validate: bool = False | ||
) -> UnaryNode: | ||
new_self = replace(self, child=new_child) # type: ignore | ||
if validate: |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕