further cleanup

This commit is contained in:
msramalho
2023-01-21 19:57:54 +00:00
parent 9bd8ea0994
commit 746f6a333e
9 changed files with 8 additions and 46 deletions

View File

@@ -1,6 +1,5 @@
# we need to explicitly expose the available imports here
from .gworksheet import GWorksheet
from .misc import *
from .util import Util
from .webdriver import Webdriver
from .gsheet import Gsheets

View File

@@ -1,19 +0,0 @@
from __future__ import annotations
from abc import abstractmethod
from dataclasses import dataclass
from ..core import Metadata, Step
#TODO: likely unused
@dataclass
class Util(Step):
name = "util"
def __init__(self, config: dict) -> None:
Step.__init__(self)
# only for typing...
def init(name: str, config: dict) -> Util:
return super().init(name, config, Util)
@abstractmethod
def enrich(self, item: Metadata) -> Metadata: pass