moviewyrm/bookwyrm/activitypub/image.py
2021-03-15 13:55:48 -07:00

13 lines
265 B
Python

""" an image, nothing fancy """
from dataclasses import dataclass
from .base_activity import ActivityObject
@dataclass(init=False)
class Image(ActivityObject):
""" image block """
url: str
name: str = ""
type: str = "Document"
id: str = None