code: def make_task(operator: str, task_params: Dict[str, Any]) -> BaseOperator:
          
          try:
              # class is a Callable https://stackoverflow.com/a/34578836/3679900
              operator_obj: Callable[..., BaseOperator] = import_string(operator)
          except Exception as e:
              raise Exception(f"Failed to import operator: {operator}. err: {e}")
          try:
              task: BaseOperator = operator_obj(**task_params)
          except Exception as e:
              raise Exception(f"Failed to create {operator_obj} task. err: {e}")
          return task
docs: Takes an operator and params and creates an instance of that operator.
  
          :returns: instance of operator object