@@ -95,7 +95,20 @@ def with_streaming_response(self) -> DatasourcesResourceWithStreamingResponse:
9595 def create (
9696 self ,
9797 * ,
98- engine : Literal ["mysql" , "tidb" , "postgresql" , "oceanbase" , "clickhouse" , "csv" , "excel" , "starrocks" , "hive" ],
98+ engine : Literal [
99+ "mysql" ,
100+ "tidb" ,
101+ "postgresql" ,
102+ "oceanbase" ,
103+ "clickhouse" ,
104+ "csv" ,
105+ "excel" ,
106+ "starrocks" ,
107+ "hive" ,
108+ "oracle" ,
109+ "polardbmysql" ,
110+ "polardbpg" ,
111+ ],
99112 async_process_meta : bool | NotGiven = NOT_GIVEN ,
100113 value_index : bool | NotGiven = NOT_GIVEN ,
101114 access_config : Optional [datasource_create_params .AccessConfig ] | NotGiven = NOT_GIVEN ,
@@ -191,7 +204,20 @@ def update(
191204 access_config : Optional [datasource_update_params .AccessConfig ] | NotGiven = NOT_GIVEN ,
192205 desc : Optional [str ] | NotGiven = NOT_GIVEN ,
193206 engine : Optional [
194- Literal ["mysql" , "tidb" , "postgresql" , "oceanbase" , "clickhouse" , "csv" , "excel" , "starrocks" , "hive" ]
207+ Literal [
208+ "mysql" ,
209+ "tidb" ,
210+ "postgresql" ,
211+ "oceanbase" ,
212+ "clickhouse" ,
213+ "csv" ,
214+ "excel" ,
215+ "starrocks" ,
216+ "hive" ,
217+ "oracle" ,
218+ "polardbmysql" ,
219+ "polardbpg" ,
220+ ]
195221 ]
196222 | NotGiven = NOT_GIVEN ,
197223 field_count : Optional [int ] | NotGiven = NOT_GIVEN ,
@@ -529,7 +555,20 @@ def with_streaming_response(self) -> AsyncDatasourcesResourceWithStreamingRespon
529555 async def create (
530556 self ,
531557 * ,
532- engine : Literal ["mysql" , "tidb" , "postgresql" , "oceanbase" , "clickhouse" , "csv" , "excel" , "starrocks" , "hive" ],
558+ engine : Literal [
559+ "mysql" ,
560+ "tidb" ,
561+ "postgresql" ,
562+ "oceanbase" ,
563+ "clickhouse" ,
564+ "csv" ,
565+ "excel" ,
566+ "starrocks" ,
567+ "hive" ,
568+ "oracle" ,
569+ "polardbmysql" ,
570+ "polardbpg" ,
571+ ],
533572 async_process_meta : bool | NotGiven = NOT_GIVEN ,
534573 value_index : bool | NotGiven = NOT_GIVEN ,
535574 access_config : Optional [datasource_create_params .AccessConfig ] | NotGiven = NOT_GIVEN ,
@@ -625,7 +664,20 @@ async def update(
625664 access_config : Optional [datasource_update_params .AccessConfig ] | NotGiven = NOT_GIVEN ,
626665 desc : Optional [str ] | NotGiven = NOT_GIVEN ,
627666 engine : Optional [
628- Literal ["mysql" , "tidb" , "postgresql" , "oceanbase" , "clickhouse" , "csv" , "excel" , "starrocks" , "hive" ]
667+ Literal [
668+ "mysql" ,
669+ "tidb" ,
670+ "postgresql" ,
671+ "oceanbase" ,
672+ "clickhouse" ,
673+ "csv" ,
674+ "excel" ,
675+ "starrocks" ,
676+ "hive" ,
677+ "oracle" ,
678+ "polardbmysql" ,
679+ "polardbpg" ,
680+ ]
629681 ]
630682 | NotGiven = NOT_GIVEN ,
631683 field_count : Optional [int ] | NotGiven = NOT_GIVEN ,
0 commit comments