12 lines
270 B
Python
12 lines
270 B
Python
|
from pydantic import BaseModel
|
||
|
from typing import List, Optional, Union
|
||
|
|
||
|
from masto_ld.models.post import Status
|
||
|
|
||
|
class Thread(BaseModel):
|
||
|
"""
|
||
|
Container for multiple posts, allowing appending, resolving of the last subject, etc.
|
||
|
"""
|
||
|
posts: List[Status]
|
||
|
|