moviewyrm/bookwyrm/activitypub/image.py
2020-11-27 20:11:46 -08:00

11 lines
258 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 = ''