Hello folks, imagine I have the code below and I am getting the "error" message 
when attempting to print() the output of 'sw_report'. 
Can you suggest which method I should use to retrieve this? Is that a 
dictionary maybe?

from arista import arista
m = arista()
m.authenticate ("user","password")
sw_report = m.np.sw_report.get("swType="EOS",swMajorVersion="5.0")
print (sw_report)
<generator object arista._result_iterate at 0x7fdb30f0af10>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to