File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 2828 ThreadsWithStreamingResponse ,
2929 AsyncThreadsWithStreamingResponse ,
3030)
31- from  ...resources .chat  import  Chat , AsyncChat 
32- from  .realtime .realtime  import  (
33-  Realtime ,
34-  AsyncRealtime ,
35- )
3631
3732__all__  =  ["Beta" , "AsyncBeta" ]
3833
3934
4035class  Beta (SyncAPIResource ):
4136 @cached_property  
37+  def  chatkit (self ) ->  ChatKit :
38+  return  ChatKit (self ._client )
4239
40+  @cached_property  
4341 def  assistants (self ) ->  Assistants :
4442 return  Assistants (self ._client )
4543
@@ -69,7 +67,10 @@ def with_streaming_response(self) -> BetaWithStreamingResponse:
6967
7068class  AsyncBeta (AsyncAPIResource ):
7169 @cached_property  
70+  def  chatkit (self ) ->  AsyncChatKit :
71+  return  AsyncChatKit (self ._client )
7272
73+  @cached_property  
7374 def  assistants (self ) ->  AsyncAssistants :
7475 return  AsyncAssistants (self ._client )
7576
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ def client_secrets(self) -> ClientSecrets:
6767 @cached_property  
6868 def  calls (self ) ->  Calls :
6969 from  ...lib ._realtime  import  _Calls 
70+ 
7071 return  _Calls (self ._client )
7172
7273 @cached_property  
@@ -126,6 +127,7 @@ def client_secrets(self) -> AsyncClientSecrets:
126127 @cached_property  
127128 def  calls (self ) ->  AsyncCalls :
128129 from  ...lib ._realtime  import  _AsyncCalls 
130+ 
129131 return  _AsyncCalls (self ._client )
130132
131133 @cached_property  
                                 You can’t perform that action at this time. 
               
                  
0 commit comments