Files
viralfactory/src/engines/MetadataEngine/BaseMetadataEngine.py

16 lines
356 B
Python
Raw Normal View History

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:
...