bayesline.api#
Description of the public-facing API for bayesline.
Core#
Abstract base class for Bayesline API operations. |
|
Abstract base class for Bayesline API operations. |
|
Abstract base class for Bayesline API operations. |
Authentication API#
An individual ACL entry granting specific permissions to a principal for a resource. |
|
Base exception for ACL-related errors. |
|
Raised when ACL data fails validation. |
|
Request model for creating a new ACL entry. |
|
Request model for adding a user to a group. |
|
Request model for creating a new user group. |
|
Request model for assigning a role to a user. |
|
Raised when creating a group fails. |
|
Raised when deleting a group fails. |
|
Represents a user's membership in a group. |
|
Raised when adding or removing users from groups fails. |
|
Raised when updating a group fails. |
|
Raised when a user attempts an action they don't have permission for. |
|
Raised when granting a permission fails. |
|
|
Permission levels for resource access. |
Raised when a principal (user/group/role) referenced in ACL operations doesn't exist. |
|
|
Types of principals that can be granted permissions. |
Raised when a resource referenced in ACL operations doesn't exist. |
|
Summary of a user's permissions for a specific resource. |
|
|
Types of resources that can be protected by ACL. |
Raised when assigning or revoking roles fails. |
|
|
Built-in system roles with predefined permissions. |
Request model for updating an existing ACL entry. |
|
Request model for updating an existing user group. |
|
A group of users for simplified permission management. |
|
Complete summary of a user's permissions across all resources. |
|
alias of |
|
Represents a user's system role assignment. |
|
|
Expand assigned roles into every role they fulfil via the hierarchy. |
|
Return whether the held roles satisfy |
Abstract base class for asynchronous ACL-based permissionining API operations. |
|
Abstract base class for synchronous ACL-based permissionining API operations. |
Settings API#
Concrete base for |
|
Abstract base class for settings registries. |
|
Abstract base class for typed settings registries. |
|
Concrete base for |
|
Holds mappings of globally unique settings identifiers to other properties. |
|
Abstract base class for settings registries. |
|
Abstract base class for typed settings registries. |
|
Raised when a settings object could not be deleted from the registry. |
|
Raised when a settings object could not be permissioned. |
|
Raised when a settings object could not be saved to the registry. |
|
Settings bound to a dataset. |
|
Exception raised for dataset-related errors. |
|
The result of a single delete operation. |
|
The result of a batch delete operation. |
|
Empty settings menu implementation. |
|
The result of a single item operation, e.g. delete on a single settings object. |
|
|
The status of a single item operation, e.g. delete on a single settings object. |
The result of a single permission operation. |
|
The result of a batch permission operation. |
|
Raw settings data structure. |
|
The result of a single save operation. |
|
The result of a batch save operation. |
|
|
A settings result that exists but is invalid. |
|
A settings result that could not be found. |
|
A settings result that exists but the current user does not have read permissions. |
alias of |
|
Base class for all settings objects. |
|
Abstract base class for settings menus. |
|
Metadata for settings objects. |
|
Raised when an unexpected error occurs in the settings registry. |
|
The result of a batch operation, e.g. a batch delete operation. |
|
A settings transfer object. |
|
|
A settings result that exists and is valid. |
|
Like |
|
Convert a |
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
|
Apply sequential migrations to raw_json and strip the version key. |
|
Migrate and validate persisted raw JSON into a Settings instance. |
|
Stamp the current schema version into raw_json for persistence. |
|
Return |
|
Validate that a settings type has a complete chain of migrations. |
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
Tasks API#
Abstract base class representing a task that produces a result of type T. |
|
Abstract base class for synchronous task API operations. |
|
|
Abstract base class representing a task that produces a result of type T. |
Exception raised when a task operation fails. |
|
The progress of a task. |
|
Response model for task operations. |
|
|
Abstract base class for synchronous task API operations. |
|
The state of a task. |