2021-03-08 16:49:10 +00:00
|
|
|
""" an image, nothing fancy """
|
2020-11-28 01:58:21 +00:00
|
|
|
from dataclasses import dataclass
|
2020-11-28 04:11:22 +00:00
|
|
|
from .base_activity import ActivityObject
|
2020-11-28 01:58:21 +00:00
|
|
|
|
2021-03-08 16:49:10 +00:00
|
|
|
|
2020-11-28 04:11:22 +00:00
|
|
|
@dataclass(init=False)
|
|
|
|
class Image(ActivityObject):
|
2021-03-08 16:49:10 +00:00
|
|
|
""" image block """
|
|
|
|
|
2020-11-28 01:58:21 +00:00
|
|
|
url: str
|
2021-03-08 16:49:10 +00:00
|
|
|
name: str = ""
|
2021-03-15 20:55:48 +00:00
|
|
|
type: str = "Document"
|
|
|
|
id: str = None
|