Skip to content
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

Should we return lists or single objects? #280

Closed
ismael-mendoza opened this issue Mar 21, 2022 · 3 comments · Fixed by #412
Closed

Should we return lists or single objects? #280

ismael-mendoza opened this issue Mar 21, 2022 · 3 comments · Fixed by #412
Milestone

Comments

@ismael-mendoza
Copy link
Collaborator

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 #228 (comment)

@ismael-mendoza
Copy link
Collaborator Author

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 ismael-mendoza mentioned this issue Mar 23, 2022
6 tasks
@ismael-mendoza
Copy link
Collaborator Author

ismael-mendoza commented Mar 23, 2022

Related:

@ismael-mendoza ismael-mendoza added this to the 1.1.0 milestone Sep 12, 2022
@ismael-mendoza ismael-mendoza mentioned this issue Jul 10, 2023
10 tasks
@ismael-mendoza ismael-mendoza linked a pull request Jul 10, 2023 that will close this issue
10 tasks
@ismael-mendoza
Copy link
Collaborator Author

Closed by #412

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant