3939
4040if TYPE_CHECKING :
4141 from .resources import (
42+ beta ,
4243 chat ,
4344 alpha ,
4445 files ,
4950 inspect ,
5051 scoring ,
5152 shields ,
52- datasets ,
5353 providers ,
5454 responses ,
55- telemetry ,
5655 vector_io ,
5756 benchmarks ,
5857 embeddings ,
7271 from .resources .inspect import InspectResource , AsyncInspectResource
7372 from .resources .scoring import ScoringResource , AsyncScoringResource
7473 from .resources .shields import ShieldsResource , AsyncShieldsResource
75- from .resources .datasets import DatasetsResource , AsyncDatasetsResource
74+ from .resources .beta . beta import BetaResource , AsyncBetaResource
7675 from .resources .chat .chat import ChatResource , AsyncChatResource
7776 from .resources .providers import ProvidersResource , AsyncProvidersResource
78- from .resources .telemetry import TelemetryResource , AsyncTelemetryResource
7977 from .resources .vector_io import VectorIoResource , AsyncVectorIoResource
8078 from .resources .benchmarks import BenchmarksResource , AsyncBenchmarksResource
8179 from .resources .embeddings import EmbeddingsResource , AsyncEmbeddingsResource
@@ -193,12 +191,6 @@ def conversations(self) -> ConversationsResource:
193191
194192 return ConversationsResource (self )
195193
196- @cached_property
197- def datasets (self ) -> DatasetsResource :
198- from .resources .datasets import DatasetsResource
199-
200- return DatasetsResource (self )
201-
202194 @cached_property
203195 def inspect (self ) -> InspectResource :
204196 from .resources .inspect import InspectResource
@@ -277,12 +269,6 @@ def synthetic_data_generation(self) -> SyntheticDataGenerationResource:
277269
278270 return SyntheticDataGenerationResource (self )
279271
280- @cached_property
281- def telemetry (self ) -> TelemetryResource :
282- from .resources .telemetry import TelemetryResource
283-
284- return TelemetryResource (self )
285-
286272 @cached_property
287273 def scoring (self ) -> ScoringResource :
288274 from .resources .scoring import ScoringResource
@@ -307,6 +293,12 @@ def files(self) -> FilesResource:
307293
308294 return FilesResource (self )
309295
296+ @cached_property
297+ def beta (self ) -> BetaResource :
298+ from .resources .beta import BetaResource
299+
300+ return BetaResource (self )
301+
310302 @cached_property
311303 def alpha (self ) -> AlphaResource :
312304 from .resources .alpha import AlphaResource
@@ -515,12 +507,6 @@ def conversations(self) -> AsyncConversationsResource:
515507
516508 return AsyncConversationsResource (self )
517509
518- @cached_property
519- def datasets (self ) -> AsyncDatasetsResource :
520- from .resources .datasets import AsyncDatasetsResource
521-
522- return AsyncDatasetsResource (self )
523-
524510 @cached_property
525511 def inspect (self ) -> AsyncInspectResource :
526512 from .resources .inspect import AsyncInspectResource
@@ -599,12 +585,6 @@ def synthetic_data_generation(self) -> AsyncSyntheticDataGenerationResource:
599585
600586 return AsyncSyntheticDataGenerationResource (self )
601587
602- @cached_property
603- def telemetry (self ) -> AsyncTelemetryResource :
604- from .resources .telemetry import AsyncTelemetryResource
605-
606- return AsyncTelemetryResource (self )
607-
608588 @cached_property
609589 def scoring (self ) -> AsyncScoringResource :
610590 from .resources .scoring import AsyncScoringResource
@@ -629,6 +609,12 @@ def files(self) -> AsyncFilesResource:
629609
630610 return AsyncFilesResource (self )
631611
612+ @cached_property
613+ def beta (self ) -> AsyncBetaResource :
614+ from .resources .beta import AsyncBetaResource
615+
616+ return AsyncBetaResource (self )
617+
632618 @cached_property
633619 def alpha (self ) -> AsyncAlphaResource :
634620 from .resources .alpha import AsyncAlphaResource
@@ -786,12 +772,6 @@ def conversations(self) -> conversations.ConversationsResourceWithRawResponse:
786772
787773 return ConversationsResourceWithRawResponse (self ._client .conversations )
788774
789- @cached_property
790- def datasets (self ) -> datasets .DatasetsResourceWithRawResponse :
791- from .resources .datasets import DatasetsResourceWithRawResponse
792-
793- return DatasetsResourceWithRawResponse (self ._client .datasets )
794-
795775 @cached_property
796776 def inspect (self ) -> inspect .InspectResourceWithRawResponse :
797777 from .resources .inspect import InspectResourceWithRawResponse
@@ -870,12 +850,6 @@ def synthetic_data_generation(self) -> synthetic_data_generation.SyntheticDataGe
870850
871851 return SyntheticDataGenerationResourceWithRawResponse (self ._client .synthetic_data_generation )
872852
873- @cached_property
874- def telemetry (self ) -> telemetry .TelemetryResourceWithRawResponse :
875- from .resources .telemetry import TelemetryResourceWithRawResponse
876-
877- return TelemetryResourceWithRawResponse (self ._client .telemetry )
878-
879853 @cached_property
880854 def scoring (self ) -> scoring .ScoringResourceWithRawResponse :
881855 from .resources .scoring import ScoringResourceWithRawResponse
@@ -900,6 +874,12 @@ def files(self) -> files.FilesResourceWithRawResponse:
900874
901875 return FilesResourceWithRawResponse (self ._client .files )
902876
877+ @cached_property
878+ def beta (self ) -> beta .BetaResourceWithRawResponse :
879+ from .resources .beta import BetaResourceWithRawResponse
880+
881+ return BetaResourceWithRawResponse (self ._client .beta )
882+
903883 @cached_property
904884 def alpha (self ) -> alpha .AlphaResourceWithRawResponse :
905885 from .resources .alpha import AlphaResourceWithRawResponse
@@ -943,12 +923,6 @@ def conversations(self) -> conversations.AsyncConversationsResourceWithRawRespon
943923
944924 return AsyncConversationsResourceWithRawResponse (self ._client .conversations )
945925
946- @cached_property
947- def datasets (self ) -> datasets .AsyncDatasetsResourceWithRawResponse :
948- from .resources .datasets import AsyncDatasetsResourceWithRawResponse
949-
950- return AsyncDatasetsResourceWithRawResponse (self ._client .datasets )
951-
952926 @cached_property
953927 def inspect (self ) -> inspect .AsyncInspectResourceWithRawResponse :
954928 from .resources .inspect import AsyncInspectResourceWithRawResponse
@@ -1029,12 +1003,6 @@ def synthetic_data_generation(
10291003
10301004 return AsyncSyntheticDataGenerationResourceWithRawResponse (self ._client .synthetic_data_generation )
10311005
1032- @cached_property
1033- def telemetry (self ) -> telemetry .AsyncTelemetryResourceWithRawResponse :
1034- from .resources .telemetry import AsyncTelemetryResourceWithRawResponse
1035-
1036- return AsyncTelemetryResourceWithRawResponse (self ._client .telemetry )
1037-
10381006 @cached_property
10391007 def scoring (self ) -> scoring .AsyncScoringResourceWithRawResponse :
10401008 from .resources .scoring import AsyncScoringResourceWithRawResponse
@@ -1059,6 +1027,12 @@ def files(self) -> files.AsyncFilesResourceWithRawResponse:
10591027
10601028 return AsyncFilesResourceWithRawResponse (self ._client .files )
10611029
1030+ @cached_property
1031+ def beta (self ) -> beta .AsyncBetaResourceWithRawResponse :
1032+ from .resources .beta import AsyncBetaResourceWithRawResponse
1033+
1034+ return AsyncBetaResourceWithRawResponse (self ._client .beta )
1035+
10621036 @cached_property
10631037 def alpha (self ) -> alpha .AsyncAlphaResourceWithRawResponse :
10641038 from .resources .alpha import AsyncAlphaResourceWithRawResponse
@@ -1102,12 +1076,6 @@ def conversations(self) -> conversations.ConversationsResourceWithStreamingRespo
11021076
11031077 return ConversationsResourceWithStreamingResponse (self ._client .conversations )
11041078
1105- @cached_property
1106- def datasets (self ) -> datasets .DatasetsResourceWithStreamingResponse :
1107- from .resources .datasets import DatasetsResourceWithStreamingResponse
1108-
1109- return DatasetsResourceWithStreamingResponse (self ._client .datasets )
1110-
11111079 @cached_property
11121080 def inspect (self ) -> inspect .InspectResourceWithStreamingResponse :
11131081 from .resources .inspect import InspectResourceWithStreamingResponse
@@ -1188,12 +1156,6 @@ def synthetic_data_generation(
11881156
11891157 return SyntheticDataGenerationResourceWithStreamingResponse (self ._client .synthetic_data_generation )
11901158
1191- @cached_property
1192- def telemetry (self ) -> telemetry .TelemetryResourceWithStreamingResponse :
1193- from .resources .telemetry import TelemetryResourceWithStreamingResponse
1194-
1195- return TelemetryResourceWithStreamingResponse (self ._client .telemetry )
1196-
11971159 @cached_property
11981160 def scoring (self ) -> scoring .ScoringResourceWithStreamingResponse :
11991161 from .resources .scoring import ScoringResourceWithStreamingResponse
@@ -1218,6 +1180,12 @@ def files(self) -> files.FilesResourceWithStreamingResponse:
12181180
12191181 return FilesResourceWithStreamingResponse (self ._client .files )
12201182
1183+ @cached_property
1184+ def beta (self ) -> beta .BetaResourceWithStreamingResponse :
1185+ from .resources .beta import BetaResourceWithStreamingResponse
1186+
1187+ return BetaResourceWithStreamingResponse (self ._client .beta )
1188+
12211189 @cached_property
12221190 def alpha (self ) -> alpha .AlphaResourceWithStreamingResponse :
12231191 from .resources .alpha import AlphaResourceWithStreamingResponse
@@ -1261,12 +1229,6 @@ def conversations(self) -> conversations.AsyncConversationsResourceWithStreaming
12611229
12621230 return AsyncConversationsResourceWithStreamingResponse (self ._client .conversations )
12631231
1264- @cached_property
1265- def datasets (self ) -> datasets .AsyncDatasetsResourceWithStreamingResponse :
1266- from .resources .datasets import AsyncDatasetsResourceWithStreamingResponse
1267-
1268- return AsyncDatasetsResourceWithStreamingResponse (self ._client .datasets )
1269-
12701232 @cached_property
12711233 def inspect (self ) -> inspect .AsyncInspectResourceWithStreamingResponse :
12721234 from .resources .inspect import AsyncInspectResourceWithStreamingResponse
@@ -1347,12 +1309,6 @@ def synthetic_data_generation(
13471309
13481310 return AsyncSyntheticDataGenerationResourceWithStreamingResponse (self ._client .synthetic_data_generation )
13491311
1350- @cached_property
1351- def telemetry (self ) -> telemetry .AsyncTelemetryResourceWithStreamingResponse :
1352- from .resources .telemetry import AsyncTelemetryResourceWithStreamingResponse
1353-
1354- return AsyncTelemetryResourceWithStreamingResponse (self ._client .telemetry )
1355-
13561312 @cached_property
13571313 def scoring (self ) -> scoring .AsyncScoringResourceWithStreamingResponse :
13581314 from .resources .scoring import AsyncScoringResourceWithStreamingResponse
@@ -1377,6 +1333,12 @@ def files(self) -> files.AsyncFilesResourceWithStreamingResponse:
13771333
13781334 return AsyncFilesResourceWithStreamingResponse (self ._client .files )
13791335
1336+ @cached_property
1337+ def beta (self ) -> beta .AsyncBetaResourceWithStreamingResponse :
1338+ from .resources .beta import AsyncBetaResourceWithStreamingResponse
1339+
1340+ return AsyncBetaResourceWithStreamingResponse (self ._client .beta )
1341+
13801342 @cached_property
13811343 def alpha (self ) -> alpha .AsyncAlphaResourceWithStreamingResponse :
13821344 from .resources .alpha import AsyncAlphaResourceWithStreamingResponse
0 commit comments