2121)
2222from ._utils import is_given , get_async_library
2323from ._version import __version__
24- from .resources import accounts , hardware , trainings , collections , predictions
24+ from .resources import account , hardware , trainings , collections , predictions
2525from ._streaming import Stream as Stream , AsyncStream as AsyncStream
2626from ._exceptions import APIStatusError , ReplicateClientError
2727from ._base_client import (
@@ -49,7 +49,7 @@ class ReplicateClient(SyncAPIClient):
4949 collections : collections .CollectionsResource
5050 deployments : deployments .DeploymentsResource
5151 hardware : hardware .HardwareResource
52- accounts : accounts . AccountsResource
52+ account : account . AccountResource
5353 models : models .ModelsResource
5454 predictions : predictions .PredictionsResource
5555 trainings : trainings .TrainingsResource
@@ -114,7 +114,7 @@ def __init__(
114114 self .collections = collections .CollectionsResource (self )
115115 self .deployments = deployments .DeploymentsResource (self )
116116 self .hardware = hardware .HardwareResource (self )
117- self .accounts = accounts . AccountsResource (self )
117+ self .account = account . AccountResource (self )
118118 self .models = models .ModelsResource (self )
119119 self .predictions = predictions .PredictionsResource (self )
120120 self .trainings = trainings .TrainingsResource (self )
@@ -231,7 +231,7 @@ class AsyncReplicateClient(AsyncAPIClient):
231231 collections : collections .AsyncCollectionsResource
232232 deployments : deployments .AsyncDeploymentsResource
233233 hardware : hardware .AsyncHardwareResource
234- accounts : accounts . AsyncAccountsResource
234+ account : account . AsyncAccountResource
235235 models : models .AsyncModelsResource
236236 predictions : predictions .AsyncPredictionsResource
237237 trainings : trainings .AsyncTrainingsResource
@@ -296,7 +296,7 @@ def __init__(
296296 self .collections = collections .AsyncCollectionsResource (self )
297297 self .deployments = deployments .AsyncDeploymentsResource (self )
298298 self .hardware = hardware .AsyncHardwareResource (self )
299- self .accounts = accounts . AsyncAccountsResource (self )
299+ self .account = account . AsyncAccountResource (self )
300300 self .models = models .AsyncModelsResource (self )
301301 self .predictions = predictions .AsyncPredictionsResource (self )
302302 self .trainings = trainings .AsyncTrainingsResource (self )
@@ -414,7 +414,7 @@ def __init__(self, client: ReplicateClient) -> None:
414414 self .collections = collections .CollectionsResourceWithRawResponse (client .collections )
415415 self .deployments = deployments .DeploymentsResourceWithRawResponse (client .deployments )
416416 self .hardware = hardware .HardwareResourceWithRawResponse (client .hardware )
417- self .accounts = accounts . AccountsResourceWithRawResponse (client .accounts )
417+ self .account = account . AccountResourceWithRawResponse (client .account )
418418 self .models = models .ModelsResourceWithRawResponse (client .models )
419419 self .predictions = predictions .PredictionsResourceWithRawResponse (client .predictions )
420420 self .trainings = trainings .TrainingsResourceWithRawResponse (client .trainings )
@@ -426,7 +426,7 @@ def __init__(self, client: AsyncReplicateClient) -> None:
426426 self .collections = collections .AsyncCollectionsResourceWithRawResponse (client .collections )
427427 self .deployments = deployments .AsyncDeploymentsResourceWithRawResponse (client .deployments )
428428 self .hardware = hardware .AsyncHardwareResourceWithRawResponse (client .hardware )
429- self .accounts = accounts . AsyncAccountsResourceWithRawResponse (client .accounts )
429+ self .account = account . AsyncAccountResourceWithRawResponse (client .account )
430430 self .models = models .AsyncModelsResourceWithRawResponse (client .models )
431431 self .predictions = predictions .AsyncPredictionsResourceWithRawResponse (client .predictions )
432432 self .trainings = trainings .AsyncTrainingsResourceWithRawResponse (client .trainings )
@@ -438,7 +438,7 @@ def __init__(self, client: ReplicateClient) -> None:
438438 self .collections = collections .CollectionsResourceWithStreamingResponse (client .collections )
439439 self .deployments = deployments .DeploymentsResourceWithStreamingResponse (client .deployments )
440440 self .hardware = hardware .HardwareResourceWithStreamingResponse (client .hardware )
441- self .accounts = accounts . AccountsResourceWithStreamingResponse (client .accounts )
441+ self .account = account . AccountResourceWithStreamingResponse (client .account )
442442 self .models = models .ModelsResourceWithStreamingResponse (client .models )
443443 self .predictions = predictions .PredictionsResourceWithStreamingResponse (client .predictions )
444444 self .trainings = trainings .TrainingsResourceWithStreamingResponse (client .trainings )
@@ -450,7 +450,7 @@ def __init__(self, client: AsyncReplicateClient) -> None:
450450 self .collections = collections .AsyncCollectionsResourceWithStreamingResponse (client .collections )
451451 self .deployments = deployments .AsyncDeploymentsResourceWithStreamingResponse (client .deployments )
452452 self .hardware = hardware .AsyncHardwareResourceWithStreamingResponse (client .hardware )
453- self .accounts = accounts . AsyncAccountsResourceWithStreamingResponse (client .accounts )
453+ self .account = account . AsyncAccountResourceWithStreamingResponse (client .account )
454454 self .models = models .AsyncModelsResourceWithStreamingResponse (client .models )
455455 self .predictions = predictions .AsyncPredictionsResourceWithStreamingResponse (client .predictions )
456456 self .trainings = trainings .AsyncTrainingsResourceWithStreamingResponse (client .trainings )
0 commit comments