-
Notifications
You must be signed in to change notification settings - Fork 2
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
Separate storage #455
Comments
I don't have any objection to breaking the interface out somewhere else (and if you did I wouldn't object to the commit history credit of doing it with git-copy). I would have the following questions/comments:
p.s. I'm going to remove "enhancement" because even if we pulled it out it's just a refactor, not new capability or user-interface. |
I guess it doesn't need to be a totally different repo, as an ABC of this style could go into |
My suggestion comes from the opposite perspective: I think workflow managers should contain only workflow managing capabilities. So however small the files are, I still think they should be separated. In addition, it's not like we all know what's where and what each class does in In the worst case it can also be within And more from my personal context: I was taking a look at the file object that we talked about, and this one looked to me indeed like what could be the more useful file object. ("enhancement" was there automatically) |
With the caveat that saving and loading the workflow is part of managing it, I agree. I think it's highly likely a storage module will exist here, but I am happy to make it as thin as possible. At minimum that means that we have the current situation that Where do you want to move it to? |
For now I'm ok with keeping it within |
I'll try to look into it myself so just leave this open for a few days |
👍 There's some fun stuff here like the multiple backends, etc, so I can definitely imagine refactoring so we have a base interface class that behaves like pyiron_workflow/pyiron_workflow/storage.py Lines 190 to 191 in c33c9e1
|
It looks to me like it requires only the path for storage.py. Do you think it makes sense to separate it to a separate module?
The text was updated successfully, but these errors were encountered: