Closed m-mohr closed 2 years ago
At a first glimpse, it looks quite good, thanks. I will need to check further. Initially I thought to set the interactive mode globally, but thinking more about it, your solution makes more sense. The interactive mode just needs to be "on", when we need user interaction and this should just be at the login phase.
Wraps the httr2 device_code flow calls with
with_interactive
and sets interactive mode for Jupyter to True, otherwise keeps it as is. Does this also make sense to you, @flahn? Tested with RStudio and JupyterLab.Fixes #95 (and #118)