Skip to content

Commit 8bda201

Browse files
committed
Fix linting
1 parent dedbad9 commit 8bda201

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/gradient/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
RateLimitError,
3030
APITimeoutError,
3131
BadRequestError,
32+
IndexingJobError,
3233
APIConnectionError,
3334
AuthenticationError,
3435
InternalServerError,
36+
AgentDeploymentError,
3537
PermissionDeniedError,
38+
IndexingJobTimeoutError,
3639
UnprocessableEntityError,
3740
APIResponseValidationError,
38-
IndexingJobError,
39-
IndexingJobTimeoutError,
40-
AgentDeploymentError,
4141
AgentDeploymentTimeoutError,
4242
)
4343
from ._base_client import DefaultHttpxClient, DefaultAioHttpClient, DefaultAsyncHttpxClient

src/gradient/resources/knowledge_bases/indexing_jobs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
import time
66
import asyncio
7+
78
import httpx
89

910
from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
10-
from ..._exceptions import IndexingJobError, IndexingJobTimeoutError
1111
from ..._utils import maybe_transform, async_maybe_transform
1212
from ..._compat import cached_property
1313
from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -17,6 +17,7 @@
1717
async_to_raw_response_wrapper,
1818
async_to_streamed_response_wrapper,
1919
)
20+
from ..._exceptions import IndexingJobError, IndexingJobTimeoutError
2021
from ..._base_client import make_request_options
2122
from ...types.knowledge_bases import (
2223
indexing_job_list_params,

tests/api_resources/knowledge_bases/test_indexing_jobs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
import httpx
99
import pytest
1010

11-
from gradient import Gradient, AsyncGradient
12-
from gradient import IndexingJobError, IndexingJobTimeoutError
11+
from gradient import Gradient, AsyncGradient, IndexingJobError, IndexingJobTimeoutError
1312
from tests.utils import assert_matches_type
1413
from gradient.types.knowledge_bases import (
1514
IndexingJobListResponse,

0 commit comments

Comments
 (0)