def _check_logger(self):
     if self.logger == DEFAULT_LOGGER:
         self.logger = Petisco.get_logger()
    def _check_logger(self):
        if self.logger == DEFAULT_LOGGER:
            from petisco import Petisco

            self.logger = Petisco.get_logger()