symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics
https://symforce.org
Apache License 2.0
1.41k stars 145 forks source link

Wrong docstrings from `Codegen.with_jacobians` #302

Open aaron-skydio opened 1 year ago

aaron-skydio commented 1 year ago

Example here: https://colab.research.google.com/drive/1Jm3pkngrmUxxJ5wbzBlAEJI6ERhliRTk?usp=sharing

Specifically if the docstring for the original function describes the return values, and we aren't including those, the generated docstring is wrong and confusing