Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dynamic determination of supported parameter types for python bindings #602

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

tmadlener
Copy link
Collaborator

@tmadlener tmadlener commented May 17, 2024

BEGINRELEASENOTES

ENDRELEASENOTES

Given that the GenericParameter types that we support probably doesn't change very frequently we could also consider keeping the "hardcoded" map as the only implementation and document that this needs to be updated in case the supported parameter types are changed. The current code for determining it is quite a mouthful and I am not sure it's more maintainable than having to update this map manually.

@tmadlener tmadlener changed the title Fix param type determination on macOS Fix param type determination for python bindings on macOS May 17, 2024
@tmadlener
Copy link
Collaborator Author

I have replaced the dynamic determination with a hardcoded map of types since this will not change very frequently and the code that does the determination is effectively c++ template meta programming with python syntax, which makes maintenance harder than the newly introduced map.

@tmadlener tmadlener changed the title Fix param type determination for python bindings on macOS Remove dynamic determination of supported parameter types for python bindings Jun 4, 2024
@tmadlener tmadlener merged commit ec1b8be into master Jun 4, 2024
18 checks passed
@tmadlener tmadlener deleted the fix-podio-dump-type-det branch June 4, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant