2020-11-27 20:58:21 -05:00
|
|
|
''' an image, nothing fancy '''
|
|
|
|
from dataclasses import dataclass
|
2020-11-27 23:11:22 -05:00
|
|
|
from .base_activity import ActivityObject
|
2020-11-27 20:58:21 -05:00
|
|
|
|
2020-11-27 23:11:22 -05:00
|
|
|
@dataclass(init=False)
|
|
|
|
class Image(ActivityObject):
|
2020-11-27 20:58:21 -05:00
|
|
|
''' image block '''
|
|
|
|
url: str
|
|
|
|
name: str = ''
|
|
|
|
type: str = 'Image'
|
2020-11-27 23:11:22 -05:00
|
|
|
id: str = ''
|