fulltext/services/extractor/extractor.py
def is_available(self, **kwargs: Any) -> bool:
        """Make sure that we can connect to the Docker API."""
        try:
            self._new_client().info()
        except (APIError, ConnectionError) as e:
            logger.error('Error when connecting to Docker API: %s', e)
            return False
        return True
Make sure that we can connect to the Docker API.
Make sure that we can connect to the Docker API.
Make sure that we can connect to the Docker API .
def is_available(self, **kwargs: Any) -> bool:
        try:
            self._new_client().info()
        except (APIError, ConnectionError) as e:
            logger.error('Error when connecting to Docker API: %s', e)
            return False
        return True
def is_available ( self , ** kwargs : Any ) -> bool : try : self . _new_client ( ) . info ( ) except ( APIError , ConnectionError ) as e : logger . error ( 'Error when connecting to Docker API: %s' , e ) return False return True
Make sure that we can connect to the Docker API.
Make sure that we can connect to the Docker API .
"""Make sure that we can connect to the Docker API."""
self
kwargs
Any