def get_pre_commit_state(connection):
    """Get pre-commit state.

    Returns:
        Document representing the pre-commit state.
    """

    raise NotImplementedError
Get pre-commit state.

Returns:
Document representing the pre-commit state.
bigchaindb/backend/query.py