pyang
pyang copied to clipboard
How to set constant arguments for pyang in python project
I want to make a project that uses pyang.
Basically, I need to create jsonschema from yang model and there is plugin to do that. I want to call pyang with constant arguments in the python project.
I can do that with os.system(pyang -f bla bla) but I do not want to do that like these.
Is there any documentation for use pyang in python?
I would be very happy if someone show me a way. Thanks.