package documentation
Undocumented
Package | ai |
Undocumented |
Module | catalog |
No module docstring; 1/1 function documented |
From __init__.py
:
Function | register |
Registers a new attribute value in the database. |
Function | register |
Registers a new note for a document. |
Function | register |
Registers a new document in the database. |
Registers a new attribute value in the database. Args: attribute (str): The name of the attribute to register. value (str): The new value of the attribute. Returns: bool: True if the attribute was registered successfully or if it already exists. Raises: RegisterError: If there is an error during registration.
Registers a new note for a document. Args: note (Note): The note to register. Returns: bool: True if the note was registered successfully. Raises: NotFoundError: If the document does not exist. ExistsError: If the note already exists. RegisterError: If there is an error during registration.