Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209461,7 +209461,7 @@ paths:
$ref: "#/components/responses/TooManyRequestsResponse"
security:
- AuthZ: []
summary: Get SPA Recommendations with a shard parameter
summary: Get SPA recommendations using a shard parameter
tags:
- Spa
x-unstable: |-
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/spa/GetSPARecommendationsWithShard.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Get SPA Recommendations with a shard parameter returns "OK" response
Get SPA recommendations using a shard parameter returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/api/spa_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_spa_recommendations_with_shard(
*,
bypass_cache: Union[str, UnsetType] = unset,
) -> RecommendationDocument:
"""Get SPA Recommendations with a shard parameter.
"""Get SPA recommendations using a shard parameter.

This endpoint is currently experimental and restricted to Datadog internal use only. Retrieve resource recommendations for a Spark job. The caller (Spark Gateway or DJM UI) provides a service name and shard identifier, and SPA returns structured recommendations for driver and executor resources.

Expand Down
4 changes: 2 additions & 2 deletions tests/v2/features/spa.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Feature: Spa
Then the response status is 200 OK

@generated @skip @team:DataDog/data-and-analytics-processing
Scenario: Get SPA Recommendations with a shard parameter returns "Bad Request" response
Scenario: Get SPA recommendations using a shard parameter returns "Bad Request" response
Given operation "GetSPARecommendationsWithShard" enabled
And new "GetSPARecommendationsWithShard" request
And request contains "shard" parameter from "REPLACE.ME"
Expand All @@ -32,7 +32,7 @@ Feature: Spa
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/data-and-analytics-processing
Scenario: Get SPA Recommendations with a shard parameter returns "OK" response
Scenario: Get SPA recommendations using a shard parameter returns "OK" response
Given operation "GetSPARecommendationsWithShard" enabled
And new "GetSPARecommendationsWithShard" request
And request contains "shard" parameter from "REPLACE.ME"
Expand Down
Loading