How to remove cell content when deploying static notebooks via rsconnect CLI

Hello everybody,

I want to deploy a static Jupyter notebook to RStudio Connect (RSC) via the rsconnect-python CLI, but do need to remove some content (inputs/outputs/entire cells) beforehand. I know how to that using nbconvert only (via --TagRemovePreprocessor.remove_<content_type> "<cell_tag>") but struggle to find an equivalent option using rsconnect. Am I am simply not looking hard enough or there is no way to complish this directly at the moment? If it's the latter, how could a workaround look like?

I am using rsconnect-python 1.5.3 and RStudio Connect 1.8.8

Looking forward to your input. :sunglasses:
Stefan

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.