Fun thing about using pybind11 to emulate the functionality of an existing code base, but every single method needs to have its signature at least partly duplicated in six places:

โ€ข The C++ header
โ€ข The C++ implementation file
โ€ข The pybind declaration
โ€ข The *.pyi file
โ€ข The Python class that wraps the extension module to add docstrings and other conveniences
โ€ข The Python class that wraps everything and translates the old API into new API calls

0

If you have a fediverse account, you can quote this note from your own instance. Search https://wandering.shop/users/xgranade/statuses/115975585562693488 on your instance and quote it. (Note that quoting is not supported in Mastodon.)