hoops_ai.storage.SchemaTemplates

class hoops_ai.storage.SchemaTemplates

Bases: object

Collection of predefined schema templates for common use cases.

static get_template(template_name)

Get a predefined schema template by name.

Parameters:

template_name (str) – Name of the template to retrieve

Returns:

Schema template dictionary

Return type:

Dict[str, Any]

Raises:

ValueError – If template name is not recognized

static get_template_description(template_name)

Get a description of what a template contains.

Parameters:

template_name (str) – Name of the template

Returns:

Description of the template

Return type:

str

static list_templates()

Get a list of all available template names.

Returns:

List of available template names

Return type:

List[str]