Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion grobid_client/grobid_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,10 @@ def process_txt(
include_raw_citations,
include_raw_affiliations,
tei_coordinates,
segment_sentences
segment_sentences,
flavor=None,
start_page=-1,
end_page=-1
):
# create request based on file content
try:
Expand Down
7 changes: 3 additions & 4 deletions tests/test_grobid_client.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
"""
Unit tests for the GROBID client main functionality.
"""
import pytest
from unittest.mock import Mock, patch, MagicMock, mock_open, call
import json
import os
import tempfile
import logging
from unittest.mock import Mock, patch, mock_open

import pytest
import requests
from io import StringIO

from grobid_client.grobid_client import GrobidClient, ServerUnavailableException

Expand Down
Loading