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

feat: add partner params that return the sum of them #10

Open
DarkGhost7 opened this issue Dec 17, 2022 · 0 comments
Open

feat: add partner params that return the sum of them #10

DarkGhost7 opened this issue Dec 17, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed python

Comments

@DarkGhost7
Copy link
Contributor

For the endpoint /partners/<partner>/<param> of a new endpoint such as /partners/<partner>/<param>/sum or ?summed=true
either make a new query or add at the end of this query a summed account of what they are asking

SUM_QUERY_PAR_INDIV = """sum((partners{{partner=\"{0}\", param=\"{1}\"}}))"""
This is the summed expression.

@DarkGhost7 DarkGhost7 added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed python labels Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed python
Projects
None yet
Development

No branches or pull requests

1 participant