-
Notifications
You must be signed in to change notification settings - Fork 451
Add experimental send_table
to Python SDK
#9538
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
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
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.
Looks very nice and straighforward!
rerun_py/src/viewer.rs
Outdated
/// table-related operations, most importantly `WriteTable`. | ||
// TODO(grtlr): In the future, we probably want to merge this with the other APIs. | ||
#[derive(Clone)] | ||
pub struct TableConnectionHandle { |
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.
Wouldn't ViewerConnectionHandle
be a better name here?
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.
We need to cover this feature in the docs. Can you please open an issue and tag it with the 0.23 milestone?
pub type TableClient = MessageProxyServiceClient<tonic::transport::Channel>; | ||
|
||
#[cfg(not(target_arch = "wasm32"))] | ||
pub async fn table_client( |
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.
Again, viewer_client
?
Related
ViewerClient::send_table
method to SDK #9456send_dataframe
to Rust and improve usability #9348What
This adds minimal support for
send_table
tore_grpc_client
and implements a new experimental API in the Python SDK:Testing
Either via the snippet:
Or via the notebook that was updated in this PR.