Skip to content
Snippets Groups Projects
Select Git revision
  • 3f70b545e5cffc54d6308e3ec86690757688a83d
  • main default protected
  • 1.1.0
  • i18n-support
  • v1.0.1-rc12
  • v1.0.1-rc11
  • v1.0.1-rc10
  • v1.0.1.rc9
  • v1.0.1.rc8
  • v1.0.1.rc7
  • v1.0.1.rc6
  • v1.0.1.rc5
  • v1.0.1.rc4
  • v1.0.1.rc3
  • v1.0.1-rc2
  • v1.0.1-rc1
16 results

tasks.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    example_2.py 374 B
    from dashboard.dashboard import *
    
    
    @app.callback(
        Output('layout', 'children'),
        [Input('space', 'n_clicks')],
        [State('layout', 'children')],
    )
    def add_to_layout(n_clicks, children):
        children.append(html.H1('Something', id='something'))
        return children
    
    
    if __name__ == '__main__':
        app.server.run(port=8000, host='127.0.0.1')
        app.run(debug=True)