move image activity to its own file

This commit is contained in:
Mouse Reeve
2020-11-27 17:58:21 -08:00
parent 624ff71a11
commit 4ae785a7f7
6 changed files with 21 additions and 21 deletions

View File

@ -0,0 +1,9 @@
''' an image, nothing fancy '''
from dataclasses import dataclass
@dataclass
class Image:
''' image block '''
url: str
name: str = ''
type: str = 'Image'