Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change type to enum to discriminate included items in the response of ListCatalogEntity #2465

Merged
merged 2 commits into from
Mar 24, 2025

Conversation

api-clients-generation-pipeline[bot]
Copy link
Contributor

@@ -24,13 +21,13 @@ def openapi_types(_):
"raw_schema": "rawSchema",
}

def __init__(self_, raw_schema: Union[str, UnsetType] = unset, **kwargs):
def __init__(self_, raw_schema: str, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
def __init__(self_, raw_schema: str, **kwargs):
def __init__(self, raw_schema: str, **kwargs):
first parameter of a class function should be self (...read more)

In a class method (that is not a class method nor a static method), the first argument must be self by convention.

Learn More

View in Datadog  Leave us feedback  Documentation

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3672 branch 2 times, most recently from 563e26e to af9a55e Compare March 24, 2025 14:45
@api-clients-generation-pipeline api-clients-generation-pipeline bot changed the title Add required fields for included items in the response of ListCatalogEntity Change type to enum to discriminate included items in the response of ListCatalogEntity Mar 24, 2025
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3672 branch 3 times, most recently from 26b6314 to 157a20b Compare March 24, 2025 16:38
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3672 branch from 157a20b to 1d3887f Compare March 24, 2025 17:13
@amaskara-dd amaskara-dd merged commit f4c44ea into master Mar 24, 2025
12 checks passed
@amaskara-dd amaskara-dd deleted the datadog-api-spec/generated/3672 branch March 24, 2025 21:12
github-actions bot pushed a commit that referenced this pull request Mar 24, 2025
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> f4c44ea
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants