catalog_workspace.

get_metadata_localization

get_metadata_localization(workspace_id: str, target_language: str) -> bytes

Retrieve the metadata localization for a workspace.

Parameters

nametypedescription
workspace_idstrThe ID of the workspace for which to retrieve the metadata localization.
target_languagestrThe target language code for the localization.

Returns

typedescription
bytesThe encoded metadata localization in the target language.

Example

# Retrieve metadata localization for a workspace in the specified language.
localization = sdk.catalog_workspace.get_metadata_localization(
    workspace_id="123",
    target_language="de-DE"
)