@@ -171,6 +171,7 @@ def update(
171171 datasource_id : str ,
172172 * ,
173173 access_config : Optional [datasource_update_params .AccessConfig ] | NotGiven = NOT_GIVEN ,
174+ desc : Optional [str ] | NotGiven = NOT_GIVEN ,
174175 field_count : Optional [int ] | NotGiven = NOT_GIVEN ,
175176 meta_error : Optional [str ] | NotGiven = NOT_GIVEN ,
176177 meta_status : Optional [Literal ["processing" , "failed" , "warning" , "success" , "unprocessed" ]]
@@ -192,6 +193,8 @@ def update(
192193 Args:
193194 access_config: 不同引擎有不同的配置
194195
196+ desc: 数据源描述
197+
195198 field_count: 字段数量
196199
197200 meta_error: 元数据处理错误
@@ -221,6 +224,7 @@ def update(
221224 body = maybe_transform (
222225 {
223226 "access_config" : access_config ,
227+ "desc" : desc ,
224228 "field_count" : field_count ,
225229 "meta_error" : meta_error ,
226230 "meta_status" : meta_status ,
@@ -321,9 +325,9 @@ def delete(
321325 def create_from_file (
322326 self ,
323327 * ,
324- name : str ,
325328 file : FileTypes ,
326329 async_process_meta : bool | NotGiven = NOT_GIVEN ,
330+ name : str | NotGiven = NOT_GIVEN ,
327331 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
328332 # The extra values given here take precedence over values defined on the client or passed to this method.
329333 extra_headers : Headers | None = None ,
@@ -360,8 +364,8 @@ def create_from_file(
360364 timeout = timeout ,
361365 query = maybe_transform (
362366 {
363- "name" : name ,
364367 "async_process_meta" : async_process_meta ,
368+ "name" : name ,
365369 },
366370 datasource_create_from_file_params .DatasourceCreateFromFileParams ,
367371 ),
@@ -490,6 +494,7 @@ async def update(
490494 datasource_id : str ,
491495 * ,
492496 access_config : Optional [datasource_update_params .AccessConfig ] | NotGiven = NOT_GIVEN ,
497+ desc : Optional [str ] | NotGiven = NOT_GIVEN ,
493498 field_count : Optional [int ] | NotGiven = NOT_GIVEN ,
494499 meta_error : Optional [str ] | NotGiven = NOT_GIVEN ,
495500 meta_status : Optional [Literal ["processing" , "failed" , "warning" , "success" , "unprocessed" ]]
@@ -511,6 +516,8 @@ async def update(
511516 Args:
512517 access_config: 不同引擎有不同的配置
513518
519+ desc: 数据源描述
520+
514521 field_count: 字段数量
515522
516523 meta_error: 元数据处理错误
@@ -540,6 +547,7 @@ async def update(
540547 body = await async_maybe_transform (
541548 {
542549 "access_config" : access_config ,
550+ "desc" : desc ,
543551 "field_count" : field_count ,
544552 "meta_error" : meta_error ,
545553 "meta_status" : meta_status ,
@@ -640,9 +648,9 @@ async def delete(
640648 async def create_from_file (
641649 self ,
642650 * ,
643- name : str ,
644651 file : FileTypes ,
645652 async_process_meta : bool | NotGiven = NOT_GIVEN ,
653+ name : str | NotGiven = NOT_GIVEN ,
646654 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
647655 # The extra values given here take precedence over values defined on the client or passed to this method.
648656 extra_headers : Headers | None = None ,
@@ -679,8 +687,8 @@ async def create_from_file(
679687 timeout = timeout ,
680688 query = await async_maybe_transform (
681689 {
682- "name" : name ,
683690 "async_process_meta" : async_process_meta ,
691+ "name" : name ,
684692 },
685693 datasource_create_from_file_params .DatasourceCreateFromFileParams ,
686694 ),
0 commit comments