app.db package

Submodules

app.db.base module

app.db.base_class module

app.db.init_db module

app.db.init_db.add_user(username, password, superuser=False, is_active=True) None[source]

One off function to add a user to the database

app.db.init_db.get_parser()[source]
app.db.init_db.init_db() None[source]

Create the Flux Restful Superuser (and testing account)

These can eventually be linked to server accounts that are associated with user ids. That doesn’t seem necessary yet given the primarily single / few user use cases.

app.db.init_db.list_users()[source]

List users in the database.

app.db.init_db.main() None[source]

app.db.session module

Module contents


Last update: Mar 10, 2024