app.db package


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.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.


List users in the database.

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

app.db.session module

Module contents

Last update: Mar 10, 2024