mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-03 01:34:54 +00:00
16 lines
356 B
Python
16 lines
356 B
Python
|
|
from abc import abstractmethod
|
||
|
|
from typing import TypedDict
|
||
|
|
|
||
|
|
from .. import BaseEngine
|
||
|
|
|
||
|
|
class MetadataEngineSettings(TypedDict):
|
||
|
|
title: str
|
||
|
|
description: str
|
||
|
|
|
||
|
|
class BaseMetadataEngine(BaseEngine):
|
||
|
|
def __init__(self, **kwargs) -> None:
|
||
|
|
...
|
||
|
|
|
||
|
|
@abstractmethod
|
||
|
|
def get_metadata(self, input: str) -> MetadataEngineSettings:
|
||
|
|
...
|