moviewyrm/bookwyrm/activitypub/image.py
2021-03-08 08:49:10 -08:00

13 lines
260 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 = "Image"
id: str = ""