Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add type in Data Deletion API #2358

Merged

Conversation

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

}

def __init__(self_, attributes: CreateDataDeletionRequestBodyAttributes, **kwargs):
def __init__(self_, attributes: CreateDataDeletionRequestBodyAttributes, type: 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_, attributes: CreateDataDeletionRequestBodyAttributes, type: str, **kwargs):
def __init__(self, attributes: CreateDataDeletionRequestBodyAttributes, type: 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 changed the title Includes the type to avoid synthetics fails Add type in Data Deletion API Jan 15, 2025
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3486 branch 2 times, most recently from e82474f to 9166990 Compare January 16, 2025 08:29
}

def __init__(self_, attributes: CreateDataDeletionRequestBodyAttributes, **kwargs):
def __init__(
self_,

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
self_,
self,
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/3486 branch from 9166990 to e134915 Compare January 17, 2025 20:19
@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit e80a43e into master Jan 17, 2025
12 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/3486 branch January 17, 2025 21:00
github-actions bot pushed a commit that referenced this pull request Jan 17, 2025
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> e80a43e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant