Skip to content
Discussion options

You must be logged in to vote

This functionality is not built in to pyo3.

To pass an object to dict() constructor, you'll have to implement __iter__ like for a Python type.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thomasbbrunner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants