code: def get_permission(permission: str) -> Permission:
      return ALL_PERMISSIONS[permission]
  
imports: from dataclasses import dataclass
  from mlflow import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
label_desc: Use image node_id 1 for calling a global function with example usage: get_permission(permission) and returns: ALL_PERMISSIONS