rstudio / rsconnect-jupyter

Publish Jupyter notebooks to RStudio Connect
GNU General Public License v2.0
25 stars 6 forks source link

RuntimeWarning: coroutine 'AsyncFileContentsManager.get' was never awaited #344

Closed bcwu closed 1 year ago

bcwu commented 1 year ago

Upstream breaking change made async the default handler for contents_manager in APIHandler. Existing code paths that use contents_manager need to be updated to handle async:

https://github.com/rstudio/rsconnect-jupyter/blob/e2309235d9a6c4b6569c0b33f495bc04097759e6/rsconnect_jupyter/__init__.py#L163

https://github.com/rstudio/rsconnect-jupyter/blob/e2309235d9a6c4b6569c0b33f495bc04097759e6/rsconnect_jupyter/__init__.py#L168

https://github.com/rstudio/rsconnect-jupyter/blob/e2309235d9a6c4b6569c0b33f495bc04097759e6/rsconnect_jupyter/__init__.py#L171