src/dirbs/api/__init__.py
def on_request_end(error: callable) -> None:
    """
    Make sure we always close the DB at the end of a request.

    Arguments:
        error: required error object to pass, unused
    Returns:
        None
    """
    close_db_connection()

    Make sure we always close the DB at the end of a request.

    Arguments:
        error: required error object to pass, unused
    Returns:
        None
    
Make sure we always close the DB at the end of a request.
Make sure we always close the DB at the end of a request .
def on_request_end(error: callable) -> None:
    close_db_connection()
def on_request_end ( error : callable ) -> None : close_db_connection ( )
Make sure we always close the DB at the end of a request.
Make sure we always close the DB at the end of a request .
"""
    Make sure we always close the DB at the end of a request.

    Arguments:
        error: required error object to pass, unused
    Returns:
        None
    """
None
error
callable
required error object to pass, unused
required error object to pass unused