Skip to content

Commit

Permalink
chore(internal): codegen related update (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Dec 14, 2024
1 parent 012f185 commit 5d2f003
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/saturn_sdk/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import httpx

from . import resources, _exceptions
from . import _exceptions
from ._qs import Querystring
from ._types import (
NOT_GIVEN,
Expand All @@ -31,13 +31,13 @@
SyncAPIClient,
AsyncAPIClient,
)
from .resources.ingest import ingest

__all__ = [
"Timeout",
"Transport",
"ProxiesTypes",
"RequestOptions",
"resources",
"SaturnSDK",
"AsyncSaturnSDK",
"Client",
Expand All @@ -46,7 +46,7 @@


class SaturnSDK(SyncAPIClient):
ingest: resources.IngestResource
ingest: ingest.IngestResource
with_raw_response: SaturnSDKWithRawResponse
with_streaming_response: SaturnSDKWithStreamedResponse

Expand Down Expand Up @@ -91,7 +91,7 @@ def __init__(
_strict_response_validation=_strict_response_validation,
)

self.ingest = resources.IngestResource(self)
self.ingest = ingest.IngestResource(self)
self.with_raw_response = SaturnSDKWithRawResponse(self)
self.with_streaming_response = SaturnSDKWithStreamedResponse(self)

Expand Down Expand Up @@ -193,7 +193,7 @@ def _make_status_error(


class AsyncSaturnSDK(AsyncAPIClient):
ingest: resources.AsyncIngestResource
ingest: ingest.AsyncIngestResource
with_raw_response: AsyncSaturnSDKWithRawResponse
with_streaming_response: AsyncSaturnSDKWithStreamedResponse

Expand Down Expand Up @@ -238,7 +238,7 @@ def __init__(
_strict_response_validation=_strict_response_validation,
)

self.ingest = resources.AsyncIngestResource(self)
self.ingest = ingest.AsyncIngestResource(self)
self.with_raw_response = AsyncSaturnSDKWithRawResponse(self)
self.with_streaming_response = AsyncSaturnSDKWithStreamedResponse(self)

Expand Down Expand Up @@ -341,22 +341,22 @@ def _make_status_error(

class SaturnSDKWithRawResponse:
def __init__(self, client: SaturnSDK) -> None:
self.ingest = resources.IngestResourceWithRawResponse(client.ingest)
self.ingest = ingest.IngestResourceWithRawResponse(client.ingest)


class AsyncSaturnSDKWithRawResponse:
def __init__(self, client: AsyncSaturnSDK) -> None:
self.ingest = resources.AsyncIngestResourceWithRawResponse(client.ingest)
self.ingest = ingest.AsyncIngestResourceWithRawResponse(client.ingest)


class SaturnSDKWithStreamedResponse:
def __init__(self, client: SaturnSDK) -> None:
self.ingest = resources.IngestResourceWithStreamingResponse(client.ingest)
self.ingest = ingest.IngestResourceWithStreamingResponse(client.ingest)


class AsyncSaturnSDKWithStreamedResponse:
def __init__(self, client: AsyncSaturnSDK) -> None:
self.ingest = resources.AsyncIngestResourceWithStreamingResponse(client.ingest)
self.ingest = ingest.AsyncIngestResourceWithStreamingResponse(client.ingest)


Client = SaturnSDK
Expand Down

0 comments on commit 5d2f003

Please sign in to comment.