-
Notifications
You must be signed in to change notification settings - Fork 43
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
Integrate incident types into Incidents API documentation #2199
Integrate incident types into Incidents API documentation #2199
Conversation
} | ||
|
||
def __init__( | ||
self_, id: str, type: IncidentTypeType, attributes: Union[IncidentTypeAttributes, 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
self_, id: str, type: IncidentTypeType, attributes: Union[IncidentTypeAttributes, UnsetType] = unset, **kwargs | |
self, id: str, type: IncidentTypeType, attributes: Union[IncidentTypeAttributes, 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
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: List[IncidentTypeResponse], **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: List[IncidentTypeResponse], **kwargs): | |
def __init__(self, data: List[IncidentTypeResponse], **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": "type", | ||
} | ||
|
||
def __init__(self_, attributes: IncidentTypeUpdateAttributes, type: IncidentTypeType, **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: IncidentTypeUpdateAttributes, type: IncidentTypeType, **kwargs): | |
def __init__(self, attributes: IncidentTypeUpdateAttributes, type: IncidentTypeType, **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": "type", | ||
} | ||
|
||
def __init__(self_, attributes: IncidentTypeAttributes, type: IncidentTypeType, **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: IncidentTypeAttributes, type: IncidentTypeType, **kwargs): | |
def __init__(self, attributes: IncidentTypeAttributes, type: IncidentTypeType, **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
} | ||
|
||
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
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: IncidentTypeCreateData, **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: IncidentTypeCreateData, **kwargs): | |
def __init__(self, data: IncidentTypeCreateData, **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
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: IncidentTypePatchData, **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: IncidentTypePatchData, **kwargs): | |
def __init__(self, data: IncidentTypePatchData, **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
} | ||
|
||
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
c28465f
to
82ba1fa
Compare
78717eb
to
3021161
Compare
0bc014c
to
0c05fa2
Compare
} | ||
|
||
def __init__( | ||
self_, id: str, type: IncidentTypeType, attributes: Union[IncidentTypeAttributes, 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
self_, id: str, type: IncidentTypeType, attributes: Union[IncidentTypeAttributes, UnsetType] = unset, **kwargs | |
self, id: str, type: IncidentTypeType, attributes: Union[IncidentTypeAttributes, 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
"type": "type", | ||
} | ||
|
||
def __init__(self_, attributes: IncidentTypeUpdateAttributes, id: str, type: IncidentTypeType, **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: IncidentTypeUpdateAttributes, id: str, type: IncidentTypeType, **kwargs): | |
def __init__(self, attributes: IncidentTypeUpdateAttributes, id: str, type: IncidentTypeType, **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
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: IncidentTypeObject, **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: IncidentTypeObject, **kwargs): | |
def __init__(self, data: IncidentTypeObject, **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
e9493c3
to
c46e85a
Compare
a6362e3
to
2c6f27a
Compare
* Regenerate client from commit 4251a422 of spec repo * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> b8ba482
See DataDog/datadog-api-spec#3172
Test branch datadog-api-spec/test/robert.nortepeterson/INA-6366