File size: 232 Bytes
09f1b19
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""Self-programming plugin engine interface."""

from __future__ import annotations

from typing import Protocol


class PluginEngineInterface(Protocol):
    async def run_plugin(self, name: str, payload: dict) -> dict:
        ...