3737)
3838
3939if TYPE_CHECKING :
40- from .resources import orgs , machines
41- from .resources .orgs . orgs import OrgsResource , AsyncOrgsResource
40+ from .resources import usage , machines
41+ from .resources .usage import UsageResource , AsyncUsageResource
4242 from .resources .machines .machines import MachinesResource , AsyncMachinesResource
4343
4444__all__ = ["Timeout" , "Transport" , "ProxiesTypes" , "RequestOptions" , "Dedalus" , "AsyncDedalus" , "Client" , "AsyncClient" ]
@@ -135,10 +135,10 @@ def __init__(
135135 self ._default_stream_cls = Stream
136136
137137 @cached_property
138- def orgs (self ) -> OrgsResource :
139- from .resources .orgs import OrgsResource
138+ def usage (self ) -> UsageResource :
139+ from .resources .usage import UsageResource
140140
141- return OrgsResource (self )
141+ return UsageResource (self )
142142
143143 @cached_property
144144 def machines (self ) -> MachinesResource :
@@ -384,10 +384,10 @@ def __init__(
384384 self ._default_stream_cls = AsyncStream
385385
386386 @cached_property
387- def orgs (self ) -> AsyncOrgsResource :
388- from .resources .orgs import AsyncOrgsResource
387+ def usage (self ) -> AsyncUsageResource :
388+ from .resources .usage import AsyncUsageResource
389389
390- return AsyncOrgsResource (self )
390+ return AsyncUsageResource (self )
391391
392392 @cached_property
393393 def machines (self ) -> AsyncMachinesResource :
@@ -549,10 +549,10 @@ def __init__(self, client: Dedalus) -> None:
549549 self ._client = client
550550
551551 @cached_property
552- def orgs (self ) -> orgs . OrgsResourceWithRawResponse :
553- from .resources .orgs import OrgsResourceWithRawResponse
552+ def usage (self ) -> usage . UsageResourceWithRawResponse :
553+ from .resources .usage import UsageResourceWithRawResponse
554554
555- return OrgsResourceWithRawResponse (self ._client .orgs )
555+ return UsageResourceWithRawResponse (self ._client .usage )
556556
557557 @cached_property
558558 def machines (self ) -> machines .MachinesResourceWithRawResponse :
@@ -568,10 +568,10 @@ def __init__(self, client: AsyncDedalus) -> None:
568568 self ._client = client
569569
570570 @cached_property
571- def orgs (self ) -> orgs . AsyncOrgsResourceWithRawResponse :
572- from .resources .orgs import AsyncOrgsResourceWithRawResponse
571+ def usage (self ) -> usage . AsyncUsageResourceWithRawResponse :
572+ from .resources .usage import AsyncUsageResourceWithRawResponse
573573
574- return AsyncOrgsResourceWithRawResponse (self ._client .orgs )
574+ return AsyncUsageResourceWithRawResponse (self ._client .usage )
575575
576576 @cached_property
577577 def machines (self ) -> machines .AsyncMachinesResourceWithRawResponse :
@@ -587,10 +587,10 @@ def __init__(self, client: Dedalus) -> None:
587587 self ._client = client
588588
589589 @cached_property
590- def orgs (self ) -> orgs . OrgsResourceWithStreamingResponse :
591- from .resources .orgs import OrgsResourceWithStreamingResponse
590+ def usage (self ) -> usage . UsageResourceWithStreamingResponse :
591+ from .resources .usage import UsageResourceWithStreamingResponse
592592
593- return OrgsResourceWithStreamingResponse (self ._client .orgs )
593+ return UsageResourceWithStreamingResponse (self ._client .usage )
594594
595595 @cached_property
596596 def machines (self ) -> machines .MachinesResourceWithStreamingResponse :
@@ -606,10 +606,10 @@ def __init__(self, client: AsyncDedalus) -> None:
606606 self ._client = client
607607
608608 @cached_property
609- def orgs (self ) -> orgs . AsyncOrgsResourceWithStreamingResponse :
610- from .resources .orgs import AsyncOrgsResourceWithStreamingResponse
609+ def usage (self ) -> usage . AsyncUsageResourceWithStreamingResponse :
610+ from .resources .usage import AsyncUsageResourceWithStreamingResponse
611611
612- return AsyncOrgsResourceWithStreamingResponse (self ._client .orgs )
612+ return AsyncUsageResourceWithStreamingResponse (self ._client .usage )
613613
614614 @cached_property
615615 def machines (self ) -> machines .AsyncMachinesResourceWithStreamingResponse :
0 commit comments