-
Notifications
You must be signed in to change notification settings - Fork 6
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
Refactor core-library modules #600
Comments
I’m fine with the idea, but let’s combine it with any other reorg needed. For example: do we want to make some core functions importable from the top level? In that way, task packages then only need to update once. Besides combining this, in favor of changing sooner rather than later! Because the number of packages may grow soon |
Fully agreed. My first guess is that we may refactor the tables-related package structure, based on the shape that V1 specs will take (#582).
I'm generally in favor. Let's find out for which functions it would make sense. |
Based on our call last week with @jluethi, here's a first proposal of how to refactor current core-library modules (I'm still trying to improve some details):
|
lib_
prefix from core-library module names
Some relevant constraints that we can try to enforce with the new structure (and which are valid as of #631 (comment)):
|
Let's go with
Let's go with
Can we describe the scope of this part?
Can we describe the scope of this part?
Nice constraints!
Not necessary for the 0.14.0 release. Who should be checking the attrs in the end? I can see that it would come from a function in fractal_tasks_core.tables to load the attrs, but we also didn't really want to have it there, right?
+1! |
I guess it could come from the proposed |
I already moved to (side remark: I'd tend to avoid using |
The main refactor result is now described at https://fractal-analytics-platform.github.io/fractal-tasks-core/version_updates/v0_14_0/. |
lib_*
prefix is a leftover from when core-library and tasks where in the same namespace, but I think it now just makes every import longer with no real benefit.Such a change is not at all urgent, but I also think it will only break the packages that do depend on fractal-tasks-core (ref #599) and then it should be fairly harmless.
The text was updated successfully, but these errors were encountered: