catalog_workspace.

set_metadata_localization

set_metadata_localization(workspace_id: str, encoded_xml: bytes) -> None

Set the metadata localization for a workspace.

Parameters

nametypedescription
workspace_idstringThe ID of the workspace to which the metadata localization applies.
encoded_xmlbytesThe encoded XML metadata to be set.

Returns

None

Example

# Set the metadata localization for a workspace using encoded XML.
sdk.catalog_workspace.set_metadata_localization(
    workspace_id="123",
    encoded_xml=b"<xml>...</xml>"
)