fmn.api.handlers.users module

async fmn.api.handlers.users.create_user_rule(username, rule: NewRule, identity: Identity = Depends(IdentityFactory), db_session: AsyncSession = Depends(gen_db_session))[source]
async fmn.api.handlers.users.delete_user_rule(username: str, id: int, identity: Identity = Depends(IdentityFactory), db_session: AsyncSession = Depends(gen_db_session))[source]
async fmn.api.handlers.users.edit_user_rule(username: str, id: int, rule: Rule, identity: Identity = Depends(IdentityFactory), db_session: AsyncSession = Depends(gen_db_session))[source]
async fmn.api.handlers.users.get_me(identity: Identity = Depends(IdentityFactory), db_session: AsyncSession = Depends(gen_db_session))[source]
async fmn.api.handlers.users.get_user_destinations(username, fasjson_proxy: FASJSONAsyncProxy = Depends(get_fasjson_proxy))[source]
async fmn.api.handlers.users.get_user_groups(username, fasjson_proxy: FASJSONAsyncProxy = Depends(get_fasjson_proxy))[source]
async fmn.api.handlers.users.get_user_info(username, fasjson_proxy: FASJSONAsyncProxy = Depends(get_fasjson_proxy))[source]
async fmn.api.handlers.users.get_user_rule(username: str, id: int, identity: Identity = Depends(IdentityFactory), db_session: AsyncSession = Depends(gen_db_session))[source]
async fmn.api.handlers.users.get_user_rules(username, identity: Identity = Depends(IdentityFactory), db_session: AsyncSession = Depends(gen_db_session))[source]
async fmn.api.handlers.users.get_users(search: str | None = None, identity: Identity = Depends(IdentityFactory), fasjson_proxy: FASJSONAsyncProxy = Depends(get_fasjson_proxy))[source]