@@ -487,6 +487,10 @@ def update_field(
487487 field_name : str ,
488488 schema_name : str ,
489489 table_name : str ,
490+ identifiable_type : Optional [
491+ Literal ["plain" , "person_name" , "email" , "ssn" , "id" , "phone" , "address" , "company" ]
492+ ]
493+ | NotGiven = NOT_GIVEN ,
490494 visibility : Optional [bool ] | NotGiven = NOT_GIVEN ,
491495 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
492496 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -499,6 +503,8 @@ def update_field(
499503 更新数据源的某个字段的描述
500504
501505 Args:
506+ identifiable_type: identifiable type
507+
502508 visibility: field visibility
503509
504510 extra_headers: Send extra headers
@@ -514,7 +520,11 @@ def update_field(
514520 return self ._patch (
515521 f"/v1/datasources/{ datasource_id } /field" ,
516522 body = maybe_transform (
517- {"visibility" : visibility }, datasource_update_field_params .DatasourceUpdateFieldParams
523+ {
524+ "identifiable_type" : identifiable_type ,
525+ "visibility" : visibility ,
526+ },
527+ datasource_update_field_params .DatasourceUpdateFieldParams ,
518528 ),
519529 options = make_request_options (
520530 extra_headers = extra_headers ,
@@ -959,6 +969,10 @@ async def update_field(
959969 field_name : str ,
960970 schema_name : str ,
961971 table_name : str ,
972+ identifiable_type : Optional [
973+ Literal ["plain" , "person_name" , "email" , "ssn" , "id" , "phone" , "address" , "company" ]
974+ ]
975+ | NotGiven = NOT_GIVEN ,
962976 visibility : Optional [bool ] | NotGiven = NOT_GIVEN ,
963977 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
964978 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -971,6 +985,8 @@ async def update_field(
971985 更新数据源的某个字段的描述
972986
973987 Args:
988+ identifiable_type: identifiable type
989+
974990 visibility: field visibility
975991
976992 extra_headers: Send extra headers
@@ -986,7 +1002,11 @@ async def update_field(
9861002 return await self ._patch (
9871003 f"/v1/datasources/{ datasource_id } /field" ,
9881004 body = await async_maybe_transform (
989- {"visibility" : visibility }, datasource_update_field_params .DatasourceUpdateFieldParams
1005+ {
1006+ "identifiable_type" : identifiable_type ,
1007+ "visibility" : visibility ,
1008+ },
1009+ datasource_update_field_params .DatasourceUpdateFieldParams ,
9901010 ),
9911011 options = make_request_options (
9921012 extra_headers = extra_headers ,
0 commit comments