CiscoDevNet/ydk-gen

Convert leafs to model type in YDK-Py

111pontes opened this issue · 1 comments

Since YDK-Py 0.6.0, leafs have type Yleaf. This type requires conversion (e.g. to int, to float, etc). Using properties, a reference to a leaf could return data in the same type define in the data model. That automatic conversion will improve usability.

The sample here is currently failing because all the leafs are YLeaf objects