-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add type
in Data Deletion API
#2358
Conversation
} | ||
|
||
def __init__(self_, attributes: CreateDataDeletionRequestBodyAttributes, **kwargs): | ||
def __init__(self_, attributes: CreateDataDeletionRequestBodyAttributes, type: str, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
type
in Data Deletion API
e82474f
to
9166990
Compare
} | ||
|
||
def __init__(self_, attributes: CreateDataDeletionRequestBodyAttributes, **kwargs): | ||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
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
9166990
to
e134915
Compare
See DataDog/datadog-api-spec#3486
Test branch datadog-api-spec/test/luis.navarro/SET-synthetics-issues