System kind is missing codeLocations in datadog
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
Research direction
Inspect src/datadog_api_client/v2/model/entity_v3_system_datadog.py, especially the datadog fields around the linked lines, and trace the schema or model-generation path that produced it. Reproduce YAML conversion to EntityV3System with datadog.code_locations; done means the value is accepted and available on the resulting model.
Written by the indexing model from the issue text.
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']
- Dominant language
- Python
- Stars
- 166
- Forks
- 55
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 73
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/datadog-api-client-python
-
stale
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
DataDog/datadog-api-client-python#3535 · 1 comment ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 66/100
DataDog/datadog-api-client-python#3717 · 3 comments ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 75/100
DataDog/datadog-api-client-python#3656 · 1 comment ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 38/100
DataDog/datadog-api-client-python#3120 · 1 comment ·
-
stale
Difficulty 3/5 1-2 days Newbie friendliness 45/100
DataDog/datadog-api-client-python#2986 · 1 comment ·
All issues in DataDog/datadog-api-client-python
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·