flip_api.db.seed.trusts
Functions
|
Seed trusts into the database. |
Module Contents
- flip_api.db.seed.trusts.seed_trusts(session: sqlmodel.Session) list[dict[str, str]]
Seed trusts into the database.
- Parameters:
session (Session) – The SQLModel session used for reads and inserts.
- Returns:
List of
{"name": <trust_name>}dicts for every trust present after seeding.- Return type:
list[dict[str, str]]