diff --git a/flex/interactive/sdk/python/gs_interactive/client/result.py b/flex/interactive/sdk/python/gs_interactive/client/result.py index f5aea2b6417f..79ec0d126bb5 100644 --- a/flex/interactive/sdk/python/gs_interactive/client/result.py +++ b/flex/interactive/sdk/python/gs_interactive/client/result.py @@ -20,9 +20,8 @@ from typing import TypeVar from gs_interactive.api_response import ApiResponse -from gs_interactive.exceptions import ApiException - from gs_interactive.client.status import Status +from gs_interactive.exceptions import ApiException # Define a generic type placeholder T = TypeVar("T") diff --git a/flex/interactive/sdk/python/gs_interactive/client/session.py b/flex/interactive/sdk/python/gs_interactive/client/session.py index 96da79ed7007..95ff753502a2 100644 --- a/flex/interactive/sdk/python/gs_interactive/client/session.py +++ b/flex/interactive/sdk/python/gs_interactive/client/session.py @@ -23,6 +23,11 @@ from typing import Optional from typing import Union +from pydantic import Field +from pydantic import StrictBytes +from pydantic import StrictStr +from typing_extensions import Annotated + from gs_interactive.api import AdminServiceGraphManagementApi from gs_interactive.api import AdminServiceJobManagementApi from gs_interactive.api import AdminServiceProcedureManagementApi @@ -32,18 +37,13 @@ from gs_interactive.api import QueryServiceApi from gs_interactive.api import UtilsApi from gs_interactive.api_client import ApiClient -from gs_interactive.configuration import Configuration -from pydantic import Field -from pydantic import StrictBytes -from pydantic import StrictStr -from typing_extensions import Annotated - from gs_interactive.client.generated.results_pb2 import CollectiveResults from gs_interactive.client.result import Result from gs_interactive.client.status import Status from gs_interactive.client.status import StatusCode from gs_interactive.client.utils import InputFormat from gs_interactive.client.utils import append_format_byte +from gs_interactive.configuration import Configuration from gs_interactive.models import CreateGraphRequest from gs_interactive.models import CreateGraphResponse from gs_interactive.models import CreateProcedureRequest diff --git a/flex/interactive/sdk/python/gs_interactive/client/status.py b/flex/interactive/sdk/python/gs_interactive/client/status.py index 21564752ecdf..26745c230f5f 100644 --- a/flex/interactive/sdk/python/gs_interactive/client/status.py +++ b/flex/interactive/sdk/python/gs_interactive/client/status.py @@ -16,16 +16,16 @@ # limitations under the License. # +from urllib3.exceptions import MaxRetryError +from urllib3.exceptions import ProtocolError + from gs_interactive.api_response import ApiResponse +from gs_interactive.client.generated.interactive_pb2 import Code as StatusCode from gs_interactive.exceptions import ApiException from gs_interactive.exceptions import BadRequestException from gs_interactive.exceptions import ForbiddenException from gs_interactive.exceptions import NotFoundException from gs_interactive.exceptions import ServiceException -from urllib3.exceptions import MaxRetryError -from urllib3.exceptions import ProtocolError - -from gs_interactive.client.generated.interactive_pb2 import Code as StatusCode from gs_interactive.models.api_response_with_code import APIResponseWithCode