ansys / pymechanical-stubs

Project to generate mechanical api stubs
https://scripting.mechanical.docs.pyansys.com/
MIT License
2 stars 0 forks source link

Create bugs for published types without values #34

Open klmcadams opened 1 month ago

klmcadams commented 1 month ago

write_enum function in stub_generator/generate_content.py

if len(fields) == 0:
        # TODO - some Mechanical types are published but don't have published values, like PinNature. These
        #        should be handled as bugs for the Mechanical team.
        buffer.write("    pass\n")