pyang icon indicating copy to clipboard operation
pyang copied to clipboard

How to set constant arguments for pyang in python project

Open ahmetoguz1 opened this issue 2 years ago • 0 comments

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.

ahmetoguz1 avatar Mar 28 '22 13:03 ahmetoguz1