How can I get access to parsed data items? - textfsm

Hello, all! How can we get access to the actual keys and values in the parsed data? Want to be able to print only the device hostname, hardware and serial key values of each device without having to regex the string from print_result(r).

from nornir import InitNornir
from nornir.plugins.tasks.networking import netmiko_send_command
from nornir.plugins.functions.text import print_result
from nornir_utilities import nornir_set_creds

nr = InitNornir(config_file="config.yaml")
myHosts = nr.filter(site="main", role="data-access")

r =, use_textfsm=True, command_string="show version", enable=True)

This worked. Thank you! I realized I had the answer in another post of mine. :expressionless:

for host, task_result in r.items():
    print(host, task_result.result[0]['hardware'], task_result.result[0]['serial'])