Coverage for tembo/utils/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

4 statements  

1"""Subpackage containing utility objects.""" 

2 

3from dataclasses import dataclass 

4 

5 

6@dataclass 

7class Success: 

8 """ 

9 A Tembo success object. 

10 

11 This is returned from [Page][tembo.journal.pages.ScopedPage] methods such as 

12 [save_to_disk()][tembo.journal.pages.ScopedPage.save_to_disk] 

13 

14 Attributes: 

15 message (str): A success message. 

16 """ 

17 

18 message: str