EOX GitLab Instance

Commit 1391123d authored by Nikola Jankovic's avatar Nikola Jankovic 💻
Browse files

fixing mypy err

parent b4d4009a
Pipeline #22723 passed with stage
in 47 seconds
......@@ -5,9 +5,7 @@ from .abc import Postprocessor
from .static import StaticValuesPostprocessor
POSTPROCESSORS: Dict[str, Type[Postprocessor]] = {
"static": StaticValuesPostprocessor
}
POSTPROCESSORS: Dict[str, Type[Postprocessor]] = {"static": StaticValuesPostprocessor}
def get_postprocessor(config: dict) -> Postprocessor:
......
from .abc import Postprocessor
def merge(a: dict, b: dict, path=None):
"merges b into a"
if path is None:
......@@ -17,7 +20,7 @@ def merge(a: dict, b: dict, path=None):
return a
class StaticValuesPostprocessor:
class StaticValuesPostprocessor(Postprocessor):
def __init__(self, values: dict):
self.values = values
......
Markdown is supported
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