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
I am using pybind11-stubgen to produce stubs for my library, and I have been stuck for a while with this list of warnings
pybind11_stubgen - [WARNING] Enum-like str representations were found with no matching mapping to the enum class location.
Use `--enum-class-locations` to specify full path to the following enum(s):
- IntegratedObservationPropertyHandling
- IAUConventions
- MinimumIntegrationTimeStepHandling
- LightTimeFailureHandling
- AerodynamicCoefficientFrames
... [goes on with more types]
The common thing I see between all of these enums is that they are used as default value of an argument of some function, and they are always associated with an InvalidExpression error. This is a snippet of code that results into one of these warnings
I have been trying to look for similar discussions or documentation on the internet, but I haven't found anything. I would like to know what is the reason for these InvalidExpression errors, so that we can adapt the codebase and remove them.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am using
pybind11-stubgen
to produce stubs for my library, and I have been stuck for a while with this list of warningsThe common thing I see between all of these enums is that they are used as default value of an argument of some function, and they are always associated with an
InvalidExpression
error. This is a snippet of code that results into one of these warningsI have been trying to look for similar discussions or documentation on the internet, but I haven't found anything. I would like to know what is the reason for these
InvalidExpression
errors, so that we can adapt the codebase and remove them.Beta Was this translation helpful? Give feedback.
All reactions