<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def napalm_cli(task: Task, commands: List[str]) -> Result: """ Run commands on remote devices using napalm Arguments: commands: commands to execute Returns: Result object with the following attributes set: * result (``dict``):
 result of the commands execution """

    device = task.host.get_connection("napalm", task.nornir.config)
    result = device.cli(commands)
    return Result(host=task.host, result=result)