-
Notifications
You must be signed in to change notification settings - Fork 7
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
To review: Optional arrays/objects should not have side effects #439
Comments
Note: this issue is not yet well defined, as it largely depends on how things evolve in fractal-web. It's also possible that it won't be relevant for 0.10.0, if everything appears to work "as is", and we'll tackle it later. (also: I edited the example above, for clarity) |
A relevant example is currently in
We can use this as a good (and very simple) example for further discussions/tests. |
Related to this, and to fractal-analytics-platform/fractal-web#218:
If there is no such case (or if it is not used often), then we can proceed as in fractal-analytics-platform/fractal-web#218. Otherwise we need to review this issue. |
Tasks I'm reviewing (check mark means I did not identify any scenario in which
|
Re: Re:
Re:
Re:
Summary:
|
Addendum: Re:
Re:
|
EDIT: The most compelling specific issue is now part of #448. This issue is now to track the broader discussion on how to proceed regarding:
(coming from discussions with @rkpasia)
Consider this task
which has a different behavior for
x=None
andx=[]
. I think this is a bad practice, and should be avoided.The reason for this issue comes from fractal-analytics-platform/fractal-web#205. Depending on how we proceed in fractal-web, it's not clear whether setting
x=[]
will be allowed. In general, it's better to stay on the safe side and make sure that tasks are robust.The text was updated successfully, but these errors were encountered: