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

Add median as valid aggregator for formulas and functions #328

Merged
merged 1 commit into from
Mar 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev6",
"regenerated": "2021-03-22 16:22:06.500125",
"spec_repo_commit": "cba6cab"
"regenerated": "2021-03-23 09:33:16.470820",
"spec_repo_commit": "c679afc"
},
"v2": {
"apigentools_version": "1.4.1.dev6",
"regenerated": "2021-03-22 16:22:45.713184",
"spec_repo_commit": "cba6cab"
"regenerated": "2021-03-23 09:33:59.579846",
"spec_repo_commit": "c679afc"
}
}
}
2 changes: 1 addition & 1 deletion docs/v1/FormulaAndFunctionEventAggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Aggregation methods for event platform queries.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | Aggregation methods for event platform queries. | must be one of ["count", "cardinality", "pc75", "pc90", "pc95", "pc98", "pc99", "sum", "min", "max", "avg", ]
**value** | **str** | Aggregation methods for event platform queries. | must be one of ["count", "cardinality", "median", "pc75", "pc90", "pc95", "pc98", "pc99", "sum", "min", "max", "avg", ]

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class FormulaAndFunctionEventAggregation(ModelSimple):
("value",): {
"COUNT": "count",
"CARDINALITY": "cardinality",
"MEDIAN": "median",
"PC75": "pc75",
"PC90": "pc90",
"PC95": "pc95",
Expand Down Expand Up @@ -104,10 +105,10 @@ def __init__(self, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.

Args:
args[0] (str): Aggregation methods for event platform queries.., must be one of ["count", "cardinality", "pc75", "pc90", "pc95", "pc98", "pc99", "sum", "min", "max", "avg", ] # noqa: E501
args[0] (str): Aggregation methods for event platform queries.., must be one of ["count", "cardinality", "median", "pc75", "pc90", "pc95", "pc98", "pc99", "sum", "min", "max", "avg", ] # noqa: E501

Keyword Args:
value (str): Aggregation methods for event platform queries.., must be one of ["count", "cardinality", "pc75", "pc90", "pc95", "pc98", "pc99", "sum", "min", "max", "avg", ] # noqa: E501
value (str): Aggregation methods for event platform queries.., must be one of ["count", "cardinality", "median", "pc75", "pc90", "pc95", "pc98", "pc99", "sum", "min", "max", "avg", ] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down
2 changes: 2 additions & 0 deletions src/datadog_api_client/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,7 @@ components:
enum:
- count
- cardinality
- median
- pc75
- pc90
- pc95
Expand All @@ -1592,6 +1593,7 @@ components:
x-enum-varnames:
- COUNT
- CARDINALITY
- MEDIAN
- PC75
- PC90
- PC95
Expand Down