Exemplo n.º 1
0
 def __init__(self, parser=BaseGraphCheckParser(), checks_dir=None):
     super().__init__(parser)
     self.checks = []
     self.parser = parser
     self.checks_dir = checks_dir if checks_dir else \
         os.path.join(os.path.dirname(os.path.dirname(__file__)), "checks", "graph_checks")
     self.logger = logging.getLogger(__name__)
Exemplo n.º 2
0
 def __init__(
     self,
     checks_dir: str,
     parser: BaseGraphCheckParser = BaseGraphCheckParser()
 ) -> None:
     super().__init__(parser)
     self.checks = []
     self.parser = parser
     self.checks_dir = checks_dir
     self.logger = logging.getLogger(__name__)
Exemplo n.º 3
0
 def __init__(self, parser: BaseGraphCheckParser = BaseGraphCheckParser(), checks_dir: Optional[str] = None) -> None:
     super().__init__(parser)
     self.checks = []
     self.parser = parser
     self.checks_dir = checks_dir if checks_dir else str(Path(__file__).parent.parent / "checks" / "graph_checks")
     self.logger = logging.getLogger(__name__)