@staticmethod<EOL><INDENT>def make_task(operator: str, task_params: Dict[str, Any]) -> BaseOperator:<DEDENT>
try:<EOL><INDENT>operator_obj: Callable[..., BaseOperator] = import_string(operator)<EOL><DEDENT>except Exception as e:<EOL><INDENT>raise Exception(f"<STR_LIT>")<EOL><DEDENT>try:<EOL><INDENT>task: BaseOperator = operator_obj(**task_params)<EOL><DEDENT>except Exception as e:<EOL><INDENT>raise Exception(f"<STR_LIT>")<EOL><DEDENT>return task<EOL>
Takes an operator and params and creates an instance of that operator.

:returns: instance of operator object