Skip to content
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
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ components:
format: int64
type: integer
PageSize:
description: Size for a given page. The maximum allowed value is 100.
description: Number of items to return per page. The maximum allowed value is 100.
in: query
name: page[size]
required: false
Expand Down Expand Up @@ -7751,7 +7751,7 @@ components:
description: An arbitrary object value with additional properties.
type: object
AnyValueString:
description: A scalar string value.
description: A scalar value represented as a string.
type: string
ApiID:
description: API identifier.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
run: ./run-tests.sh
shell: bash
env:
DD_USE_GENERATED_TESTS: "true"
DD_AGENT_HOST: localhost
DD_ENV: prod
DD_SERVICE: datadog-api-client-python
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/reusable-python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ jobs:
run: pip install --disable-pip-version-check -e .[tests]
- name: Test
run: ./run-tests.sh
shell: bash
shell: bash
env:
DD_USE_GENERATED_TESTS: "true"
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ repos:
language: system
entry: bash -c "./generate.sh"
files: '^(\.generator/.*|\.pre-commit-config\.yaml|Makefile|\tests/v*/features/.*|src/.*)'
stages: [manual]
pass_filenames: false
- id: docs
name: Format documentation
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/api/authn_mappings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def list_authn_mappings(

List all AuthN Mappings in the org.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/api/case_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2685,7 +2685,7 @@ def search_cases(

Search cases.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -2728,7 +2728,7 @@ def search_cases_with_pagination(

Provide a paginated version of :meth:`search_cases`, returning all items.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/api/identity_providers_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def list_identity_provider_users(

:param idp_id: The ID of the identity provider.
:type idp_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -213,7 +213,7 @@ def list_identity_provider_users_with_pagination(

:param idp_id: The ID of the identity provider.
:type idp_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
8 changes: 4 additions & 4 deletions src/datadog_api_client/v2/api/incidents_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3935,7 +3935,7 @@ def list_incidents(

:param include: Specifies which types of related objects should be included in the response.
:type include: [IncidentRelatedObject], optional
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down Expand Up @@ -3966,7 +3966,7 @@ def list_incidents_with_pagination(

:param include: Specifies which types of related objects should be included in the response.
:type include: [IncidentRelatedObject], optional
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down Expand Up @@ -4209,7 +4209,7 @@ def search_incidents(
:type include: IncidentRelatedObject, optional
:param sort: Specifies the order of returned incidents.
:type sort: IncidentSearchSortOrder, optional
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down Expand Up @@ -4253,7 +4253,7 @@ def search_incidents_with_pagination(
:type include: IncidentRelatedObject, optional
:param sort: Specifies the order of returned incidents.
:type sort: IncidentSearchSortOrder, optional
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down
8 changes: 4 additions & 4 deletions src/datadog_api_client/v2/api/key_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def list_api_keys(

List all API keys available for your account.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -940,7 +940,7 @@ def list_application_keys(

List all application keys available for your org

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -1002,7 +1002,7 @@ def list_current_user_application_keys(

List all application keys available for current user

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -1057,7 +1057,7 @@ def list_personal_access_tokens(

List all access tokens for the organization.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def list_restriction_queries(

Returns all restriction queries, including their names and IDs.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -453,7 +453,7 @@ def list_restriction_query_roles(

:param restriction_query_id: The ID of the restriction query.
:type restriction_query_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def list_pipelines(

Retrieve a list of pipelines.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
8 changes: 4 additions & 4 deletions src/datadog_api_client/v2/api/org_authorized_clients_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def list_org_authorized_clients(

Get a list of all OAuth2 clients authorized for the current organization.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -459,7 +459,7 @@ def list_org_authorized_clients_with_pagination(

Provide a paginated version of :meth:`list_org_authorized_clients`, returning all items.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -531,7 +531,7 @@ def list_org_authorized_client_user_authorizations(

:param org_authorized_client_id: The ID of the org authorized client.
:type org_authorized_client_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -591,7 +591,7 @@ def list_org_authorized_client_user_authorizations_with_pagination(

:param org_authorized_client_id: The ID of the org authorized client.
:type org_authorized_client_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/api/roles_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def list_roles(

Returns all roles, including their names and their unique identifiers.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -635,7 +635,7 @@ def list_role_users(

:param role_id: The unique identifier of the role.
:type role_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
8 changes: 4 additions & 4 deletions src/datadog_api_client/v2/api/scorecards_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def list_scorecard_outcomes(

Fetches all rule outcomes.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down Expand Up @@ -792,7 +792,7 @@ def list_scorecard_outcomes_with_pagination(

Provide a paginated version of :meth:`list_scorecard_outcomes`, returning all items.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down Expand Up @@ -877,7 +877,7 @@ def list_scorecard_rules(

Fetch all rules.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down Expand Up @@ -950,7 +950,7 @@ def list_scorecard_rules_with_pagination(

Provide a paginated version of :meth:`list_scorecard_rules`, returning all items.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_offset: Specific offset to use as the beginning of the returned page.
:type page_offset: int, optional
Expand Down
8 changes: 4 additions & 4 deletions src/datadog_api_client/v2/api/security_monitoring_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6243,7 +6243,7 @@ def get_rule_version_history(

:param rule_id: The ID of the rule.
:type rule_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -6865,7 +6865,7 @@ def get_suppression_version_history(

:param suppression_id: The ID of the suppression rule
:type suppression_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -7295,7 +7295,7 @@ def list_historical_jobs(

List historical jobs.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -7907,7 +7907,7 @@ def list_security_monitoring_rules(

List rules.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/api/service_accounts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def list_service_account_access_tokens(

:param service_account_id: The ID of the service account.
:type service_account_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -574,7 +574,7 @@ def list_service_account_application_keys(

:param service_account_id: The ID of the service account.
:type service_account_id: str
:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/api/service_definition_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def list_service_definitions(

Get a list of all service definitions from the Datadog Service Catalog.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down Expand Up @@ -241,7 +241,7 @@ def list_service_definitions_with_pagination(

Provide a paginated version of :meth:`list_service_definitions`, returning all items.

:param page_size: Size for a given page. The maximum allowed value is 100.
:param page_size: Number of items to return per page. The maximum allowed value is 100.
:type page_size: int, optional
:param page_number: Specific page number to return.
:type page_number: int, optional
Expand Down
Loading
Loading