Skip to main content
Answer

How to have better description and examples for SDK generated by PyGen?

  • April 21, 2025
  • 2 replies
  • 41 views

Forum|alt.badge.img+1

We are using Pygen to generate Python SDK for our Data Model. Pygen has given us good set of classes and methods which are really helpful. However, descriptions added in this generated SDK are very generic and not that useful. I think the only way to add descriptions and examples are manually doing changes to each classes and methods.

We are planning to use Pygen to create SDK and may generate SDK multiple times based on data model versions. If we put our own descriptions and examples manually then each time new SDK will generated we will loose the descriptions and examples.

Here, descriptions should be applied to all classes, methods, arguments etc.

I believe there should be way to create SDK with relevant descriptions and examples.

Please suggest what needs to be done.

Best answer by Anders Albert

Thanks for posting. I answered in the original thread🙂

2 replies

Forum|alt.badge.img+1
  • Author
  • Committed
  • April 21, 2025

I have added it as product idea in slb community. However, I am not able to delete this question here
 

I am ok with any of these, either as a question or product idea


Anders  Albert
Seasoned Practitioner
Forum|alt.badge.img
  • Seasoned Practitioner
  • Answer
  • April 22, 2025

Thanks for posting. I answered in the original thread🙂