fulltext/services/legacy/legacy.py
def is_available(self, **kwargs: Any) -> bool:
        """Determine whether canonical PDFs are available."""
        timeout: float = kwargs.get('timeout', 2.0)
        response = self._session.head(self._path(f'/'), allow_redirects=True,
                                      timeout=timeout)
        return bool(response.status_code == status.OK)
Determine whether canonical PDFs are available.
Determine whether canonical PDFs are available.
Determine whether canonical PDFs are available .
def is_available(self, **kwargs: Any) -> bool:
        timeout: float = kwargs.get('timeout', 2.0)
        response = self._session.head(self._path(f'/'), allow_redirects=True,
                                      timeout=timeout)
        return bool(response.status_code == status.OK)
def is_available ( self , ** kwargs : Any ) -> bool : timeout : float = kwargs . get ( 'timeout' , 2.0 ) response = self . _session . head ( self . _path ( f'/' ) , allow_redirects = True , timeout = timeout ) return bool ( response . status_code == status . OK )
Determine whether canonical PDFs are available.
Determine whether canonical PDFs are available .
"""Determine whether canonical PDFs are available."""
self
kwargs
Any