mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-19 01:25:06 +00:00
12 lines
306 B
Python
12 lines
306 B
Python
# connect/handlers/base.py
|
|
import abc
|
|
|
|
class IntegrationHandler(abc.ABC):
|
|
def __init__(self, integration, subscription, payload):
|
|
self.integration = integration
|
|
self.subscription = subscription
|
|
self.payload = payload
|
|
|
|
@abc.abstractmethod
|
|
def execute(self):
|
|
pass
|