Fetching Mapper

The fetch_mapper method in the Cataloglake allows you to retrieve the details of an existing metadata mapper using its unique identifier (metadata_mapper_id). This method is useful for querying the configuration or structure of a previously created mapper.

Payload Example

fetch_mapper_payload = {
    "metadata_mapper_id": "287b05a6-ff14-4b5f-a81d-f247b5bffcdd"
}

Usage example

fetch_mapper = cataloglake.fetch_mapper(fetch_mapper_payload)
print(fetch_mapper)

Example Response

{
  "metadata_mapper_id": "287b05a6-ff14-4b5f-a81d-f247b5bffcdd",
  "mapper_name": "",
  "metadata_keymap": [
    {
      "address of manufacturer": "manufacturer_address",
      "fssai number": "None",
      "marketing_fssai_num": "marketing_fssai_number",
      "fabric_colour": "fssai_number"
    }
  ]
}

Last updated