@@ -426,7 +426,7 @@ def get_connection(
426426 self ,
427427 id : str ,
428428 * ,
429- expand : List [Literal ["connector" ]] | NotGiven = NOT_GIVEN ,
429+ expand : List [Literal ["connector" , "enabled_integrations" ]] | NotGiven = NOT_GIVEN ,
430430 include_secrets : Literal ["none" , "basic" , "all" ] | NotGiven = NOT_GIVEN ,
431431 refresh_policy : Literal ["none" , "force" , "auto" ] | NotGiven = NOT_GIVEN ,
432432 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -552,7 +552,7 @@ def list_connection_configs(
552552 "googledrive" ,
553553 ]
554554 | NotGiven = NOT_GIVEN ,
555- expand : List [ Literal [ "connector" ]] | NotGiven = NOT_GIVEN ,
555+ expand : str | NotGiven = NOT_GIVEN ,
556556 limit : int | NotGiven = NOT_GIVEN ,
557557 offset : int | NotGiven = NOT_GIVEN ,
558558 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -563,7 +563,7 @@ def list_connection_configs(
563563 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
564564 ) -> SyncOffsetPagination [ListConnectionConfigsResponse ]:
565565 """
566- List all connector configurations with optional filtering
566+ List all connector configurations
567567
568568 Args:
569569 connector_name: The name of the connector
@@ -598,7 +598,9 @@ def list_connection_configs(
598598 client_list_connection_configs_params .ClientListConnectionConfigsParams ,
599599 ),
600600 ),
601- model = ListConnectionConfigsResponse ,
601+ model = cast (
602+ Any , ListConnectionConfigsResponse
603+ ), # Union types cannot be passed in as arguments in the type system
602604 )
603605
604606 def list_connections (
@@ -655,7 +657,7 @@ def list_connections(
655657 ]
656658 | NotGiven = NOT_GIVEN ,
657659 customer_id : str | NotGiven = NOT_GIVEN ,
658- expand : List [Literal ["connector" ]] | NotGiven = NOT_GIVEN ,
660+ expand : List [Literal ["connector" , "enabled_integrations" ]] | NotGiven = NOT_GIVEN ,
659661 include_secrets : Literal ["none" , "basic" , "all" ] | NotGiven = NOT_GIVEN ,
660662 limit : int | NotGiven = NOT_GIVEN ,
661663 offset : int | NotGiven = NOT_GIVEN ,
@@ -1112,7 +1114,7 @@ async def get_connection(
11121114 self ,
11131115 id : str ,
11141116 * ,
1115- expand : List [Literal ["connector" ]] | NotGiven = NOT_GIVEN ,
1117+ expand : List [Literal ["connector" , "enabled_integrations" ]] | NotGiven = NOT_GIVEN ,
11161118 include_secrets : Literal ["none" , "basic" , "all" ] | NotGiven = NOT_GIVEN ,
11171119 refresh_policy : Literal ["none" , "force" , "auto" ] | NotGiven = NOT_GIVEN ,
11181120 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1238,7 +1240,7 @@ def list_connection_configs(
12381240 "googledrive" ,
12391241 ]
12401242 | NotGiven = NOT_GIVEN ,
1241- expand : List [ Literal [ "connector" ]] | NotGiven = NOT_GIVEN ,
1243+ expand : str | NotGiven = NOT_GIVEN ,
12421244 limit : int | NotGiven = NOT_GIVEN ,
12431245 offset : int | NotGiven = NOT_GIVEN ,
12441246 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1249,7 +1251,7 @@ def list_connection_configs(
12491251 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
12501252 ) -> AsyncPaginator [ListConnectionConfigsResponse , AsyncOffsetPagination [ListConnectionConfigsResponse ]]:
12511253 """
1252- List all connector configurations with optional filtering
1254+ List all connector configurations
12531255
12541256 Args:
12551257 connector_name: The name of the connector
@@ -1284,7 +1286,9 @@ def list_connection_configs(
12841286 client_list_connection_configs_params .ClientListConnectionConfigsParams ,
12851287 ),
12861288 ),
1287- model = ListConnectionConfigsResponse ,
1289+ model = cast (
1290+ Any , ListConnectionConfigsResponse
1291+ ), # Union types cannot be passed in as arguments in the type system
12881292 )
12891293
12901294 def list_connections (
@@ -1341,7 +1345,7 @@ def list_connections(
13411345 ]
13421346 | NotGiven = NOT_GIVEN ,
13431347 customer_id : str | NotGiven = NOT_GIVEN ,
1344- expand : List [Literal ["connector" ]] | NotGiven = NOT_GIVEN ,
1348+ expand : List [Literal ["connector" , "enabled_integrations" ]] | NotGiven = NOT_GIVEN ,
13451349 include_secrets : Literal ["none" , "basic" , "all" ] | NotGiven = NOT_GIVEN ,
13461350 limit : int | NotGiven = NOT_GIVEN ,
13471351 offset : int | NotGiven = NOT_GIVEN ,
0 commit comments