mirror of
https://github.com/tembo-pages/tembo-core.git
synced 2025-12-22 05:35:43 +00:00
feat: initial commit
This commit is contained in:
18
tembo/utils/__init__.py
Normal file
18
tembo/utils/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Subpackage containing utility objects."""
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass
|
||||
class Success:
|
||||
"""
|
||||
A Tembo success object.
|
||||
|
||||
This is returned from [Page][tembo.journal.pages.ScopedPage] methods such as
|
||||
[save_to_disk()][tembo.journal.pages.ScopedPage.save_to_disk]
|
||||
|
||||
Attributes:
|
||||
message (str): A success message.
|
||||
"""
|
||||
|
||||
message: str
|
||||
Reference in New Issue
Block a user