@@ -107,7 +107,7 @@ def get_table_types(
107107 database : str ,
108108 table : str ,
109109 catalog_id : str | None = None ,
110- return_iceberg_current : bool = False ,
110+ filter_iceberg_current : bool = False ,
111111 boto3_session : boto3 .Session | None = None ,
112112) -> dict [str , str ] | None :
113113 """Get all columns and types from a table.
@@ -121,9 +121,9 @@ def get_table_types(
121121 catalog_id
122122 The ID of the Data Catalog from which to retrieve Databases.
123123 If ``None`` is provided, the AWS account ID is used by default.
124- return_iceberg_current
125- If True, returns only current iceberg fields (fields marked with iceberg.field.current: true).
126- Otherwise, returns the all fields. False by default (return all fields).
124+ filter_iceberg_current
125+ If True, returns only current iceberg fields (fields marked with iceberg.field.current: true).
126+ Otherwise, returns the all fields. False by default (return all fields).
127127 boto3_session
128128 The default boto3 session will be used if **boto3_session** receive ``None``.
129129
@@ -145,7 +145,7 @@ def get_table_types(
145145 return None
146146 return _extract_dtypes_from_table_details (
147147 response = response ,
148- return_iceberg_current = return_iceberg_current ,
148+ filter_iceberg_current = filter_iceberg_current ,
149149 )
150150
151151
0 commit comments