move image activity to its own file
This commit is contained in:
9
bookwyrm/activitypub/image.py
Normal file
9
bookwyrm/activitypub/image.py
Normal 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'
|
Reference in New Issue
Block a user