mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
530 stars 342 forks source link

--feature does not work for every output format #832

Open KoljaV opened 1 year ago

KoljaV commented 1 year ago

Is it correct that the --feature option does work for every output format? e.g. for uml? It seems to have no effect.

BR, Kolja

wlupton commented 1 year ago

I'm a bit rusty on the details, but I don't think there's any direct connection between --feature and the output format. I'm guessing that the problem is that the UML format is often using stmt.substmts rather than stmt.i_children (or possibly other i_xxx attributes).