Skip to content

Added decorator to prevent pre-mature Run function calls #231

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

Conversation

kzscisoft
Copy link
Collaborator

Adds a decorator for Run methods which assume init has already been called to terminate the program early.

@kzscisoft kzscisoft force-pushed the 224-prevent-use-of-run-update-methods-when-the-run-instance-has-not-been-initialised branch from 2621887 to a9dcd80 Compare March 26, 2024 14:35
@kzscisoft kzscisoft added the enhancement New feature or request label Apr 30, 2024
@kzscisoft kzscisoft added this to the v1.0 milestone May 24, 2024
@kzscisoft kzscisoft merged commit 2da7784 into dev May 24, 2024
@kzscisoft kzscisoft deleted the 224-prevent-use-of-run-update-methods-when-the-run-instance-has-not-been-initialised branch May 24, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent use of Run update methods when the Run instance has not been initialised
1 participant