mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 17:24:54 +00:00
Refactor get_metadata method signature in BaseMetadataEngine.py
This commit is contained in:
@@ -4,15 +4,10 @@ from typing import TypedDict
|
|||||||
from .. import BaseEngine
|
from .. import BaseEngine
|
||||||
|
|
||||||
|
|
||||||
class MetadataEngineSettings(TypedDict):
|
|
||||||
title: str
|
|
||||||
description: str
|
|
||||||
|
|
||||||
|
|
||||||
class BaseMetadataEngine(BaseEngine):
|
class BaseMetadataEngine(BaseEngine):
|
||||||
def __init__(self, **kwargs) -> None:
|
def __init__(self, **kwargs) -> None:
|
||||||
...
|
...
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def get_metadata(self, input: str) -> MetadataEngineSettings:
|
def get_metadata(self) -> None:
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user