-
Notifications
You must be signed in to change notification settings - Fork 48
Update DORA endpoints #2591
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
Update DORA endpoints #2591
Conversation
6a98e96
to
2a2fcc7
Compare
} | ||
|
||
attribute_map = { | ||
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: DORAIncidentRequestData, **kwargs): | ||
def __init__(self_, data: DORAFailureRequestData, **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_, data: DORAFailureRequestData, **kwargs): | |
def __init__(self, data: DORAFailureRequestData, **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
} | ||
|
||
attribute_map = { | ||
"id": "id", | ||
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: str, type: Union[DORAIncidentType, UnsetType] = unset, **kwargs): | ||
def __init__(self_, id: str, type: Union[DORAFailureType, UnsetType] = unset, **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_, id: str, type: Union[DORAFailureType, UnsetType] = unset, **kwargs): | |
def __init__(self, id: str, type: Union[DORAFailureType, UnsetType] = unset, **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
} | ||
|
||
attribute_map = { | ||
"attributes": "attributes", | ||
} | ||
|
||
def __init__(self_, attributes: DORAIncidentRequestAttributes, **kwargs): | ||
def __init__(self_, attributes: DORAFailureRequestAttributes, **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: DORAFailureRequestAttributes, **kwargs): | |
def __init__(self, attributes: DORAFailureRequestAttributes, **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
} | ||
|
||
attribute_map = { | ||
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: DORAIncidentResponseData, **kwargs): | ||
def __init__(self_, data: DORAFailureResponseData, **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_, data: DORAFailureResponseData, **kwargs): | |
def __init__(self, data: DORAFailureResponseData, **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
2a2fcc7
to
b722ba3
Compare
8cd0a22
to
ec91188
Compare
ec91188
to
5a5d1e1
Compare
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 8fb4ffd
See DataDog/datadog-api-spec#3912
Test branch datadog-api-spec/test/jorge.calvar/dora_docs_update