express.wrap_express_app

express.wrap_express_app(file)

Wrap a Shiny Express mode app into a Shiny App object.

This also creates a Python package for the app named something like shiny_express_app_0. This package is required for relative imports to work, as in from . import utils.

Parameters

file : Path

The path to the file containing the Shiny express application.

Returns

: App

A shiny.App object.