Skip to content

Python bindings: Add nested type enumeration - #1936

Open
franzpoeschel wants to merge 5 commits into
openPMD:devfrom
franzpoeschel:nested-foreach-type
Open

Python bindings: Add nested type enumeration#1936
franzpoeschel wants to merge 5 commits into
openPMD:devfrom
franzpoeschel:nested-foreach-type

Conversation

@franzpoeschel

Copy link
Copy Markdown
Contributor

This simplifies adding Python bindings to multi-argument functions f(a1, a2, a3, ...) where each each argument accepts multiple types (e.g. py::object and std::string for JSON configs, or Datatype, np::dtype and py::object for Datatypes).

With this, every combination of binding is automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant