System kind is missing codeLocations in datadog
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 52/100
Piste de recherche
Examinez src/datadog_api_client/v2/model/entity_v3_system_datadog.py, en particulier les champs datadog autour des lignes liées, et suivez le chemin de génération du schéma ou du modèle qui l’a produit. Reproduisez la conversion YAML vers EntityV3System avec datadog.code_locations ; c’est terminé lorsque la valeur est acceptée et disponible dans le modèle obtenu.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Describe the bug
Missing codeLocations in return
The schema has now been updated, but this is still missing the codeLocations under datadog for system kinds.
Expected behavior
I am able to use codeLocations and verify this when converting a yaml document to a EntityV3System type
Environment and Versions (please complete the following information):
2.34.0
Additional context
datadog_api_client/model_utils.py", line 146, in set_attribute
│ raise ApiAttributeError("{0} has no attribute '{1}'".format(type(self).name, name), path_to_item)
│ datadog_api_client.exceptions.ApiAttributeError: EntityV3SystemDatadog has no attribute 'code_locations' at
│ ['datadog']['code_locations']
- Langage dominant
- Python
- Étoiles
- 166
- Forks
- 55
- Merge moyen
- 2 j 17 h
- PR mergées (30 j)
- 73
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de DataDog/datadog-api-client-python
-
stale
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
DataDog/datadog-api-client-python#3535 · 1 commentaire ·
-
kind/bug stale
Difficulté 3/5 1-2 jours Accessibilité débutants 66/100
DataDog/datadog-api-client-python#3717 · 3 commentaires ·
-
kind/bug stale
Difficulté 3/5 1-2 jours Accessibilité débutants 75/100
DataDog/datadog-api-client-python#3656 · 1 commentaire ·
-
kind/bug stale
Difficulté 3/5 1-2 jours Accessibilité débutants 38/100
DataDog/datadog-api-client-python#3120 · 1 commentaire ·
-
stale
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
DataDog/datadog-api-client-python#2986 · 1 commentaire ·
Toutes les issues de DataDog/datadog-api-client-python
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
stephrobert/dsoxlab#238 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
sublimehq/package_control#1780 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
nwg-piotr/nwg-displays#145 ·