src.app

Attributes

logger

dask_client_address

Functions

create_app([name, server, title])

Create the Dash app and link it to Flask.

load_user(user_id)

Load the user by their ID.

serve_layout()

Define the layout of the application.

login_button_click(n_clicks, username, password, pathname)

Handle login button click.

register_user(n_clicks, username, password)

Handle user registration.

Module Contents

src.app.logger
src.app.create_app(name='yapat', server=server, title='YAPAT | Yet Another PAM Annotation Tool')

Create the Dash app and link it to Flask.

src.app.load_user(user_id)

Load the user by their ID.

src.app.serve_layout()

Define the layout of the application.

src.app.login_button_click(n_clicks, username, password, pathname)

Handle login button click.

src.app.register_user(n_clicks, username, password)

Handle user registration.

src.app.dask_client_address