1
0
Fork 0
mastoposter/mastoreposter/integrations/base.py

13 lines
242 B
Python
Raw Normal View History

2022-08-24 08:09:41 +03:00
from abc import ABC, abstractmethod
from mastoreposter.types import Status
class BaseIntegration(ABC):
def __init__(self):
pass
@abstractmethod
async def post(self, status: Status) -> str:
raise NotImplemented