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_idstringThe ID of the workspace for which to retrieve the metadata localization.
target_languagestringThe target language code for the localization.

Returns

The encoded metadata localization in the target language.
typedescription
bytesObject Containing declarative Analytical Model.

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"
)