Uh oh!
There was an error while loading. Please reload this page.
feat: remote R session management added - #3
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds remote R session management functionality to the DataSHIELD Python client interface. The changes include a new RSession class for managing server-side R sessions, new session management methods in the DSConnection interface, and integration of session handling into the high-level API. The version is being changed from 1.0.0 to 0.2.0.
Changes:
- Added
RSessionclass with methods to check session state (started, ready, pending, failed, terminated) - Added session management methods to
DSConnection(has_session, start_session, get_session) - Integrated automatic session initialization into API operations (ls, rm, assign_table, assign_resource, assign_expr, aggregate)
- Improved API consistency by returning appropriate values from workspace methods and get_connection_names
- Enhanced documentation with return type descriptions throughout the codebase
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 12 comments.
| File | Description |
|---|---|
| uv.lock | Updated version from 1.0.0 to 0.2.0 |
| pyproject.toml | Updated version from 1.0.0 to 0.2.0 |
| datashield/interface.py | Added RSession class, session management methods to DSConnection, and improved documentation |
| datashield/api.py | Added sessions() method, integrated session handling into operations, improved return values for workspace methods and get_connection_names |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.