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 Python 'meta classes' #2683

Merged
merged 20 commits into from
Jun 27, 2023
Merged

Remove Python 'meta classes' #2683

merged 20 commits into from
Jun 27, 2023

Conversation

garth-wells
Copy link
Member

@garth-wells garth-wells commented Jun 25, 2023

The PR removes the Python 'meta classes', and instead wraps templated objects on the Python side. This is simpler, reduces the number of types that appear in Python, makes typing simpler and the docs work better.

@garth-wells garth-wells added enhancement New feature or request documentation Documentation improvements or fixes type-hints labels Jun 25, 2023
@garth-wells garth-wells added this pull request to the merge queue Jun 27, 2023
Merged via the queue into main with commit 44d6122 Jun 27, 2023
17 checks passed
@garth-wells garth-wells deleted the garth/remove-meta-classes branch June 27, 2023 16:53
jorgensd added a commit to ComputationalPhysiology/oasisx that referenced this pull request Jul 4, 2023
jorgensd added a commit to ComputationalPhysiology/oasisx that referenced this pull request Jul 4, 2023
* Removes usage of meta-classes, ref: FEniCS/dolfinx#2683

* formatting

* Fix bc assembly

* Fix python file
jorgensd added a commit to jorgensd/dolfinx_mpc that referenced this pull request Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation improvements or fixes enhancement New feature or request type-hints
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant