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

[release-0.2] feat: add way to register post-__init__ callbacks #65

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

mortenpi
Copy link
Member

@mortenpi mortenpi commented Oct 9, 2023

Adds a register_post_init_callback function that can be used to register callbacks that are guaranteed to be called after DataSets.__init__() has run (critically, including in sysimages). Unfortunately, I can't really think of a easy way to test the queueing, since even in a sysimage, but it seems to work correctly.

This PR is directly against release-0.2 and bumps the version as well. Will forward-port this to master in a separate PR.

@mortenpi mortenpi merged commit 2d706db into release-0.2 Oct 12, 2023
14 checks passed
@mortenpi mortenpi deleted the mp/sysimage branch October 12, 2023 00:37
mortenpi added a commit that referenced this pull request Nov 30, 2023
[Diff since v0.2.9](v0.2.9...v0.2.10)

**Merged pull requests:**
- [release-0.2] feat: add way to register post-__init__ callbacks (#65) (@mortenpi)
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.

2 participants