We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been staring at the API docs for a while now and I can't figure out how one specifies a template when creating an App() object!
App()
The text was updated successfully, but these errors were encountered:
The docs are sooo thin
Sorry, something went wrong.
I'm trying to DescriptivePagesTemplate but not sure where to import it from
DescriptivePagesTemplate
Hello @mil-ad.
The templates are a feature of the Jupyter integration, i.e. an App generated through dp.App.from_notebook().
App
dp.App.from_notebook()
To set a template, you can use the template parameter, e.g. for your desired template above:
template
dp.App.from_notebook(template="descriptive_pages")
If you run it without a template, we'll select one automatically - this includes a list of templates you can specify.
I hope this helps! Please let us know if there's anything else.
No branches or pull requests
I've been staring at the API docs for a while now and I can't figure out how one specifies a template when creating an
App()
object!The text was updated successfully, but these errors were encountered: