-
Notifications
You must be signed in to change notification settings - Fork 37
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
Making JobOperation Private #313
Comments
@b-butler should I work on making |
@kidrahahjo I would hold off on this task for now. I'd like to hear feedback from some more of @glotzerlab/signac-committers before pushing forward too quickly. |
The original intention to expose some of this to the public API was to enable users to more easily develop their own execution and submission workflows, completely independent of the flow supported by the command line interface. I have so far not seen any real-world use cases for this. So with the goal to simplify things, I think it is totally fine to make this class (and all functions that directly use it) private. |
@csadorf @vyasr @b-butler
I also feel like there's a need for deprecation |
The
JobOperation
class is currently exposed to users for the primary purpose of using withsubmit_operations
andrun_operations
#310. The only way to obtainJobOperation
objects through the user interface is through theFlowProject.next_operations
. The use case for this class is small, so I purpose makingJobOperation
a private class. The current public methods ofJobOperation
involve the id, command string, and querying the status. None of these, I believe, to be a compelling use case for keeping the class public.Making
JobOperation
private would also more easily allow future refactoring.The text was updated successfully, but these errors were encountered: