You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pygmo is working great for my application. However, it is time-consuming to implement new application code due to lack of type hinting in python from the core pygmo library.
For example, when computing the pareto front:
There is no IDE support to help accelerate code time.
However, the docs page clearly states exactly what is expected as input and output from this function:
Describe the solution you'd like
Python type hinting and help docstrings have become very popular. It would be nice to have this built into pygmo so the IDE (VSCode in my case) can easily show helpful information.
For example, when I use the pandas library, it gives wonderful IDE hints:
When I browse the pygmo code files, it seems the issue is the core library functions are written in C and imported from the .pyd file, so the Python IDE support has no way of seeing the available functions, except during runtime.
Is there a way to wrap the functions in core.pyd to enable type hinting and IDE code support?
The text was updated successfully, but these errors were encountered:
Pygmo is working great for my application. However, it is time-consuming to implement new application code due to lack of type hinting in python from the core pygmo library.
For example, when computing the pareto front:
There is no IDE support to help accelerate code time.
However, the docs page clearly states exactly what is expected as input and output from this function:
Describe the solution you'd like
Python type hinting and help docstrings have become very popular. It would be nice to have this built into pygmo so the IDE (VSCode in my case) can easily show helpful information.
For example, when I use the pandas library, it gives wonderful IDE hints:
When I browse the pygmo code files, it seems the issue is the core library functions are written in C and imported from the
.pyd
file, so the Python IDE support has no way of seeing the available functions, except during runtime.Is there a way to wrap the functions in
core.pyd
to enable type hinting and IDE code support?The text was updated successfully, but these errors were encountered: