Skip to content

Commit

Permalink
Regenerate client from commit 1e62a9e9 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Oct 2, 2023
1 parent 063ea8a commit 5b96528
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 27 deletions.
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.6.6",
"regenerated": "2023-10-02 18:58:17.933721",
"spec_repo_commit": "aee9e14a"
"regenerated": "2023-10-02 21:47:09.592727",
"spec_repo_commit": "1e62a9e9"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-10-02 18:58:17.947416",
"spec_repo_commit": "aee9e14a"
"regenerated": "2023-10-02 21:47:09.606683",
"spec_repo_commit": "1e62a9e9"
}
}
}
18 changes: 5 additions & 13 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,21 +234,13 @@ components:
schema:
$ref: '#/components/schemas/IncidentRelatedObject'
IncidentSearchQueryQueryParameter:
description: 'Specifies which incidents should be returned. After entering a
search query in your [Incidents page][1],
description: 'Specifies which incidents should be returned. The query can contain
any number of incident facets

use the query parameter value in the URL of the page as the value for this
parameter.
joined by `ANDs`, along with multiple values for each of those facets joined
by `OR`s. For


The query can contain any number of incident facets joined by `ANDs`, along
with multiple values for each of

those facets joined by `OR`s, for instance: `query="state:active AND severity:(SEV-2
OR SEV-1)"`.


[1]: https://app.datadoghq.com/incidents'
example: `state:active AND severity:(SEV-2 OR SEV-1)`.'
explode: false
in: query
name: query
Expand Down
16 changes: 6 additions & 10 deletions src/datadog_api_client/v2/api/incidents_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,11 +920,9 @@ def search_incidents(
Search for incidents matching a certain query.
:param query: Specifies which incidents should be returned. After entering a search query in your `Incidents page <https://app.datadoghq.com/incidents>`_ ,
use the query parameter value in the URL of the page as the value for this parameter.
The query can contain any number of incident facets joined by ``ANDs`` , along with multiple values for each of
those facets joined by ``OR`` s, for instance: ``query="state:active AND severity:(SEV-2 OR SEV-1)"``.
:param query: Specifies which incidents should be returned. The query can contain any number of incident facets
joined by ``ANDs`` , along with multiple values for each of those facets joined by ``OR`` s. For
example: ``state:active AND severity:(SEV-2 OR SEV-1)``.
:type query: str
:param include: Specifies which types of related objects should be included in the response.
:type include: IncidentRelatedObject, optional
Expand Down Expand Up @@ -966,11 +964,9 @@ def search_incidents_with_pagination(
Provide a paginated version of :meth:`search_incidents`, returning all items.
:param query: Specifies which incidents should be returned. After entering a search query in your `Incidents page <https://app.datadoghq.com/incidents>`_ ,
use the query parameter value in the URL of the page as the value for this parameter.
The query can contain any number of incident facets joined by ``ANDs`` , along with multiple values for each of
those facets joined by ``OR`` s, for instance: ``query="state:active AND severity:(SEV-2 OR SEV-1)"``.
:param query: Specifies which incidents should be returned. The query can contain any number of incident facets
joined by ``ANDs`` , along with multiple values for each of those facets joined by ``OR`` s. For
example: ``state:active AND severity:(SEV-2 OR SEV-1)``.
:type query: str
:param include: Specifies which types of related objects should be included in the response.
:type include: IncidentRelatedObject, optional
Expand Down

0 comments on commit 5b96528

Please sign in to comment.