-
Notifications
You must be signed in to change notification settings - Fork 80
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 the optional dependencies parameters in the transform/partitioned_transform methods #4891
Add the optional dependencies parameters in the transform/partitioned_transform methods #4891
Conversation
035d92d
to
f4ad2b7
Compare
Co-authored-by: Ryan Caudy <rcaudy@gmail.com>
py/server/deephaven/table.py
Outdated
j_dependencies = [d.j_table for d in dependencies if isinstance(d, Table)] | ||
j_dependencies.extend([d.table.j_table for d in dependencies if isinstance(d, PartitionedTable)]) |
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.
There should be a size assert because this will happily run if non Table / PartitionedTable garbage is included.
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.
It might be an overkill, I think it is safe to assume that users who need to use this parameter knows what they are doing.
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.
Will Python's type system (hah) allow that?
Labels indicate documentation is required. Issues for documentation have been opened: How-to: https://github.com/deephaven/deephaven.io/issues/3496 |
Fixes #4890