Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

System kind is missing codeLocations in datadog

Open
#2,541 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
openapi, python
Domain
api

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

kind/bug stale

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/datadog-api-client-python

All issues in DataDog/datadog-api-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.