forked from mirrors/bookwyrm
13 lines
265 B
Python
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
|