When a "description" does not exist, pyATS does not return the key. In my use case I want to display the statistics of only the interfaces with a certain keyword in the interface description. The loop fails in the case there is no description.
"The conditional check 'item.description == \"XXX\"' failed. The error was: error while evaluating conditional (item.description == \"XXX\"): 'dict object' has no attribute 'description'
Could we consider making the change that the description is always returned - with a null string in the case of no description being configured (instead of no key-value pair at all).
When a "description" does not exist, pyATS does not return the key. In my use case I want to display the statistics of only the interfaces with a certain keyword in the interface description. The loop fails in the case there is no description.
"The conditional check 'item.description == \"XXX\"' failed. The error was: error while evaluating conditional (item.description == \"XXX\"): 'dict object' has no attribute 'description'
Could we consider making the change that the description is always returned - with a null string in the case of no description being configured (instead of no key-value pair at all).