BlendingToolKit icon indicating copy to clipboard operation
BlendingToolKit copied to clipboard

Should we return lists or single objects?

Open ismael-mendoza opened this issue 2 years ago • 2 comments

Very difficult to handle a function that can return both a list and a single value. You might want to chose one return type only (maybe in a future PR)

Originally posted by @aboucaud in https://github.com/LSSTDESC/BlendingToolKit/pull/228#discussion_r830946784

ismael-mendoza avatar Mar 21 '22 19:03 ismael-mendoza

I think @thuiop we already talked about this at some point. I agree with @aboucaud that it's hard to handle but it's also convenient for the user I think.

ismael-mendoza avatar Mar 21 '22 19:03 ismael-mendoza

Related:

  • https://github.com/LSSTDESC/BlendingToolKit/pull/228#discussion_r830955444

ismael-mendoza avatar Mar 23 '22 13:03 ismael-mendoza

Closed by #412

ismael-mendoza avatar Aug 13 '23 18:08 ismael-mendoza