fulltext/controllers.py
def service_status() -> Response:
    """Handle a request for the status of this service."""
    # This is the critical upstream integration.
    stat = {
        'storage': store.Storage.current_session().is_available(),
        'extractor': extract.is_available(await_result=True)
    }
    if all(stat.values()):
        return stat, status.OK, {}
    raise InternalServerError(stat)    # type: ignore
Handle a request for the status of this service.
Handle a request for the status of this service.
Handle a request for the status of this service .
def service_status() -> Response:
    stat = {
        'storage': store.Storage.current_session().is_available(),
        'extractor': extract.is_available(await_result=True)
    }
    if all(stat.values()):
        return stat, status.OK, {}
    raise InternalServerError(stat)    
def service_status ( ) -> Response : stat = { 'storage' : store . Storage . current_session ( ) . is_available ( ) , 'extractor' : extract . is_available ( await_result = True ) } if all ( stat . values ( ) ) : return stat , status . OK , { } raise InternalServerError ( stat )
Handle a request for the status of this service.
Handle a request for the status of this service .
"""Handle a request for the status of this service.""" # This is the critical upstream integration. # type: ignore