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

Support sum #58

Closed
n-chatchai opened this issue May 30, 2023 · 1 comment
Closed

Support sum #58

n-chatchai opened this issue May 30, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists feature request Requests for new functionality

Comments

@n-chatchai
Copy link

Given,

scores = [
  {"name": "do x": "score": 10},
  {"name": "do 7": "score": 10},
]

If it is possible to support rule like

sum([score['score'] for score in scores]) > 10
or,
[score['score'] for score in scores].sum > 10

Thank you,

@zeroSteiner
Copy link
Owner

No there's no sum attribute and there is no function support (see #32).

@zeroSteiner zeroSteiner added feature request Requests for new functionality duplicate This issue or pull request already exists labels Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature request Requests for new functionality
Projects
None yet
Development

No branches or pull requests

2 participants