Closed xijq227 closed 9 months ago
Hi,
attempting to generate a python class from junos-conf-interfaces.yang
$ pyang --plugindir env/Lib/site-packages/pyangbind/plugin/ -f pybind -o junos_conf_interfaces.py -p yang_modules/ yang_modules/18.2R1/junos/conf/junos-conf-interfaces\@2018-01-01.yang INFO: encountered (<pyang.error.Position object at 0x0000000007124678>, 'UNUSED_IMPORT', u'junos-common-types') yang_modules/18.2R1\junos\conf\junos-conf-root@2018-01-01.yang:10: warning: imported module junos-common-types not used
This is exactly as the error says. Remove that unused import from junos-conf-root and will generate the classes. Had the same issue days ago.
Closing issues with no recent activity.
Hi,
attempting to generate a python class from junos-conf-interfaces.yang