EOX GitLab Instance

Commit 1dee370c authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Fixing typing for postprocessors

parent e65be197
Pipeline #19506 passed with stage
in 39 seconds
from abc import ABC, abstractmethod
from typing import Dict, Type
class Postprocessor(ABC):
def __init__(self, **kwargs):
...
@abstractmethod
def postprocess(self, item: dict) -> dict:
pass
POSTPROCESSORS = {
POSTPROCESSORS: Dict[str, Type[Postprocessor]] = {
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment