Help in creating a function with each task to do a show command

Hello Everyone, i just started looking into nornir today and am stuck with trying to have a function do multiple show commands per task, i know this is not correct but hopefully you guys can get the idea of what i am aiming at:
# creating function to do multiple show commands
def show_commands(task: Task) → Result:
task.run(
name=“Show device versions”,
task=(napalm_cli, commands=[‘show version’])
)
task.run(
name=“Show device interfaces”,
task=(napalm_cli, commands=[‘show interfaces’])
)
return Result(
host=task.host,
)
result = nr.run(
name=“Show commands”,
task=show_commands
)
Any ideas on how to get something like this? Thank you!

EDIT:
Found a way!
def get_facts(task: Task) → Result:
facts = task.run(
task=napalm_get, getters=[‘facts’]
)
return Result(
host=task.host,
result=facts
)