-
Hi, I'm new to pybind, however I'm trying my best to use it in proper way. The setup I'm having is following: I have several classes in cpp in different modules, but one is inherited from another. I'm trying to export both of them to python and I wanna preserve inheritance between them. I tried to resolve it by specifiying parent class (from different pybind module) in Context: I'm developing wordle toolkit and wanna to experiment with strategies and stuff in both in python and cpp. I'm trying to keep basic functionality in cpp and export it to python for fast experiments and convenient usage. Therefore I have base module with I found a workaround: have a python wrapper with composition, however it doesn't feel the right thing to do. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here's the part of documentation you're looking for. |
Beta Was this translation helpful? Give feedback.
Here's the part of documentation you're looking for.