def METHOD_NAME(self, name: str, namespace: str) -> JsonObject:
    """
    Calls get_secret function, then extracts the data field from the response.
    """
    secret_label = f"{namespace}/{name} Kubernetes secret"
    secret = self.get_secret(name=name, namespace=namespace)
    return get_data_field(secret, label=secret_label)