def METHOD_NAME(self, dataset: Dict) -> str:
    """
    Generation of amundsen dataset key with optional namespace overriding.
    Amundsen dataset key format: <namespace>://<cluster_name>.<database>/<table>.
    If dataset name is represented in path form ie. ( /warehouse/database/table )
    only last part of such path will be extracted as dataset name
    """
    namespace = self.ol_namespace_override if self.ol_namespace_override else dataset[self.ol_namespace_key]
    return f'{namespace}://{self.cluster_name}.{dataset[self.ol_database_key]}' \
           f'/{dataset[self.ol_dataset_name_key].split("/")[-1]}'