datadog-api-client-python
datadog-api-client-python copied to clipboard
Python client for the Datadog API
See [DataDog/datadog-api-spec#3722](https://github.com/DataDog/datadog-api-spec/pull/3722) Test branch [datadog-api-spec/test/cgc/SEC-20213-hq-endpoint-public](https://github.com/DataDog/datadog-api-client-python/compare/datadog-api-spec/test/cgc/SEC-20213-hq-endpoint-public)
**Describe the bug** The `SoftwareCatalogApi.upsert_catalog_entity` does not accept string arguments, despite its [type annotation](https://github.com/DataDog/datadog-api-client-python/blob/a959f3f03728d82490bcb37830f6f6259539f02e/src/datadog_api_client/v2/api/software_catalog_api.py#L323) and the [API documentation](https://docs.datadoghq.com/api/latest/software-catalog/#create-or-update-entities) ("Entity definition in raw JSON or YAML representation") suggesting that it should...
**Describe the bug** We (Keep - https://github.com/keephq/keep) try to get all monitors from datadog. However, a customer of ours fails to get them with this exception. We don't have control...
See [DataDog/datadog-api-spec#3580](https://github.com/DataDog/datadog-api-spec/pull/3580) Test branch [datadog-api-spec/test/ec/monitor_classification](https://github.com/DataDog/datadog-api-client-python/compare/datadog-api-spec/test/ec/monitor_classification)
**Describe the bug** `https://api.datadoghq.com/api/v1/slo/{slo_id}/corrections` API is paginated but `ServiceLevelObjectivesApi.get_slo_corrections` does not support pagination parameters to get all data. **To Reproduce** Steps to reproduce the behavior: - Have over 10 SLO...
See [DataDog/datadog-api-spec#3471](https://github.com/DataDog/datadog-api-spec/pull/3471) Test branch [datadog-api-spec/test/sahilshah41-patch-1](https://github.com/DataDog/datadog-api-client-python/compare/datadog-api-spec/test/sahilshah41-patch-1)
See [DataDog/datadog-api-spec#3475](https://github.com/DataDog/datadog-api-spec/pull/3475) Test branch [datadog-api-spec/test/vbarth/add-api-for-custom-terraform-plugin](https://github.com/DataDog/datadog-api-client-python/compare/datadog-api-spec/test/vbarth/add-api-for-custom-terraform-plugin)
See [DataDog/datadog-api-spec#3480](https://github.com/DataDog/datadog-api-spec/pull/3480) Test branch [datadog-api-spec/test/carl/monitor-validate-read-permission](https://github.com/DataDog/datadog-api-client-python/compare/datadog-api-spec/test/carl/monitor-validate-read-permission)
See [DataDog/datadog-api-spec#3483](https://github.com/DataDog/datadog-api-spec/pull/3483) Test branch [datadog-api-spec/test/vbarth/update-custom-framework](https://github.com/DataDog/datadog-api-client-python/compare/datadog-api-spec/test/vbarth/update-custom-framework)
**Describe the bug** The docs show [SLO API](https://datadog-api-client.readthedocs.io/en/latest/datadog_api_client.v1.api.html#module-datadog_api_client.v1.api.service_level_objectives_api) update_slo() method as requiring a ServiceLevelObjective for the body, but doesn't it take a [ServiceLevelObjectiveRequest ](https://datadog-api-client.readthedocs.io/en/latest/datadog_api_client.v1.model.html#datadog_api_client.v1.model.service_level_objective_query.ServiceLevelObjectiveRequest)object? It even says so in the...