Skip to content

Util for getting active request#1110

Open
jmcphers wants to merge 1 commit intomainfrom
feature/execution-metadata
Open

Util for getting active request#1110
jmcphers wants to merge 1 commit intomainfrom
feature/execution-metadata

Conversation

@jmcphers
Copy link
Contributor

I'm preparing to do some work to add more metadata to the execute request, and am adding this to make it easy to inspect it.

image

@jmcphers jmcphers requested a review from DavisVaughan March 11, 2026 20:57
@@ -0,0 +1,25 @@
//
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's a bit much to have a whole file just for this, as we're trying to keep the repo easily browsable. Can you please move this below get_active_execute_request() in console_repl.rs?

In the future we could move these to console/console_callbacks.rs. That would allow seeing at a glance everything that's exported to the R side.

Comment on lines +59 to +60
#' @export
.ps.active_request <- function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is just for development (IIUC), I'd remove the @export and .ps. prefix and add a comment that suggests using:

.ps.internal(active_request())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants