Skip to content

Python API Reference

UniDash backend is organized into six Python packages:

PackageDescription
unidash_sharedShared types, exceptions, and utilities
unidash_dbDatabase models and repositories
unidash_ssoAuthentication and OIDC provider
unidash_apiMain business logic API
unidash_adminAdministration API
unidash_backupBackup service API

All Python code uses Google-style docstrings, enforced by Ruff D rules.

def example_function(param1: str, param2: int) -> bool:
"""Short description of the function.
Longer description if needed, explaining the purpose
and behavior of the function.
Args:
param1: Description of first parameter.
param2: Description of second parameter.
Returns:
Description of return value.
Raises:
ValueError: When param2 is negative.
"""
pass