Skip to content

Commit

Permalink
Merge pull request #3 from rpadn/fix-minor-issues
Browse files Browse the repository at this point in the history
Fix docs issues
  • Loading branch information
betaboon authored Sep 12, 2024
2 parents 2d14fc6 + 7eccc75 commit 8c9d993
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
os:
- ubuntu-latest
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
runs-on: ${{ matrix.os }}
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions exb_sdk/workflow_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
wait_exponential,
)

from exb_sdk.workflow_client.api_constants import (
from exb_sdk.workflow_client._api_constants import (
ENDPOINT_DOWNLOAD,
ENDPOINT_STATE_POLL,
ENDPOINT_UPLOAD,
Expand Down Expand Up @@ -109,7 +109,7 @@ async def get_result(self, document_path: Path) -> Result:
Raises:
WaitForResultCancelledError: if the client gets closed while waiting for a result.
DocumentProcessingError: if the extraction failed.
HTTPError: if any operation to upload or getting the result fails with an
HttpError: if any operation to upload or getting the result fails with an
unexpected error.
Returns:
Expand Down
2 changes: 1 addition & 1 deletion tests/workflow_client/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest

from exb_sdk.workflow_client import Result
from exb_sdk.workflow_client.api_constants import DocumentState
from exb_sdk.workflow_client._api_constants import DocumentState


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/workflow_client/test_get_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest

from exb_sdk.workflow_client import Client
from exb_sdk.workflow_client.api_constants import DocumentState
from exb_sdk.workflow_client._api_constants import DocumentState # noqa: PLC2701
from exb_sdk.workflow_client.exceptions import DocumentProcessingError, WaitForResultCancelledError
from tests.workflow_client.conftest import Context, response_result, response_state, response_upload

Expand Down
2 changes: 1 addition & 1 deletion tests/workflow_client/test_response_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest

from exb_sdk.workflow_client import Client
from exb_sdk.workflow_client.api_constants import DocumentState
from exb_sdk.workflow_client._api_constants import DocumentState # noqa: PLC2701
from exb_sdk.workflow_client.exceptions import HttpError
from tests.workflow_client.conftest import Context, response_state, response_upload

Expand Down

0 comments on commit 8c9d993

Please sign in to comment.