mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +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
|
||||
|
||||
|
||||
class MetadataEngineSettings(TypedDict):
|
||||
title: str
|
||||
description: str
|
||||
|
||||
|
||||
class BaseMetadataEngine(BaseEngine):
|
||||
def __init__(self, **kwargs) -> None:
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
def get_metadata(self, input: str) -> MetadataEngineSettings:
|
||||
def get_metadata(self) -> None:
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user