Custom Framework API Spec#2510
Conversation
| "name": "name", | ||
| } | ||
|
|
||
| def __init__(self_, controls: List[CustomFrameworkControl], name: str, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, controls: List[CustomFrameworkControl], name: str, **kwargs): | |
| def __init__(self, controls: List[CustomFrameworkControl], name: 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
| } | ||
|
|
||
| def __init__( | ||
| self_, |
There was a problem hiding this comment.
🔴 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: CustomFrameworkData, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: CustomFrameworkData, **kwargs): | |
| def __init__(self, data: CustomFrameworkData, **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.
🔴 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
| "type": "type", | ||
| } | ||
|
|
||
| def __init__(self_, attributes: CustomFrameworkDataAttributes, type: CustomFrameworkType, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, attributes: CustomFrameworkDataAttributes, type: CustomFrameworkType, **kwargs): | |
| def __init__(self, attributes: CustomFrameworkDataAttributes, type: CustomFrameworkType, **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: CustomFrameworkData, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: CustomFrameworkData, **kwargs): | |
| def __init__(self, data: CustomFrameworkData, **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: CustomFrameworkDataHandleAndVersion, type: CustomFrameworkType, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, attributes: CustomFrameworkDataHandleAndVersion, type: CustomFrameworkType, **kwargs): | |
| def __init__(self, attributes: CustomFrameworkDataHandleAndVersion, type: CustomFrameworkType, **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
| "rules_id": "rules_id", | ||
| } | ||
|
|
||
| def __init__(self_, name: str, rules_id: List[str], **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, name: str, rules_id: List[str], **kwargs): | |
| def __init__(self, name: str, rules_id: List[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
| "data": "data", | ||
| } | ||
|
|
||
| def __init__(self_, data: FullCustomFrameworkData, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: FullCustomFrameworkData, **kwargs): | |
| def __init__(self, data: FullCustomFrameworkData, **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: FullCustomFrameworkDataAttributes, type: CustomFrameworkType, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, attributes: FullCustomFrameworkDataAttributes, type: CustomFrameworkType, **kwargs): | |
| def __init__(self, attributes: FullCustomFrameworkDataAttributes, type: CustomFrameworkType, **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
985581e to
cb88124
Compare
| "type": "type", | ||
| } | ||
|
|
||
| def __init__(self_, attributes: FullCustomFrameworkDataAttributes, id: str, type: CustomFrameworkType, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, attributes: FullCustomFrameworkDataAttributes, id: str, type: CustomFrameworkType, **kwargs): | |
| def __init__(self, attributes: FullCustomFrameworkDataAttributes, id: str, type: CustomFrameworkType, **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
57c4701 to
cd83e71
Compare
| "version": "version", | ||
| } | ||
|
|
||
| def __init__(self_, handle: Union[str, UnsetType] = unset, version: Union[str, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, handle: Union[str, UnsetType] = unset, version: Union[str, UnsetType] = unset, **kwargs): | |
| def __init__(self, handle: Union[str, UnsetType] = unset, version: Union[str, 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
| } | ||
|
|
||
| def __init__( | ||
| self_, |
There was a problem hiding this comment.
🔴 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
| "type": "type", | ||
| } | ||
|
|
||
| def __init__(self_, attributes: CustomFrameworkDataHandleAndVersion, id: str, type: CustomFrameworkType, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, attributes: CustomFrameworkDataHandleAndVersion, id: str, type: CustomFrameworkType, **kwargs): | |
| def __init__(self, attributes: CustomFrameworkDataHandleAndVersion, id: str, type: CustomFrameworkType, **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.
🔴 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: CustomFrameworkMetadata, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: CustomFrameworkMetadata, **kwargs): | |
| def __init__(self, data: CustomFrameworkMetadata, **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
f174151 to
5654dff
Compare
| "data": "data", | ||
| } | ||
|
|
||
| def __init__(self_, data: PartialCustomFrameworkData, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: PartialCustomFrameworkData, **kwargs): | |
| def __init__(self, data: PartialCustomFrameworkData, **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
dc8b3f6 to
71c4825
Compare
| "data": "data", | ||
| } | ||
|
|
||
| def __init__(self_, data: FrameworkHandleAndVersionResponseData, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: FrameworkHandleAndVersionResponseData, **kwargs): | |
| def __init__(self, data: FrameworkHandleAndVersionResponseData, **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: CustomFrameworkDataHandleAndVersion, id: str, type: CustomFrameworkType, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, attributes: CustomFrameworkDataHandleAndVersion, id: str, type: CustomFrameworkType, **kwargs): | |
| def __init__(self, attributes: CustomFrameworkDataHandleAndVersion, id: str, type: CustomFrameworkType, **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: FullCustomFrameworkData, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: FullCustomFrameworkData, **kwargs): | |
| def __init__(self, data: FullCustomFrameworkData, **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: FrameworkHandleAndVersionResponseData, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: FrameworkHandleAndVersionResponseData, **kwargs): | |
| def __init__(self, data: FrameworkHandleAndVersionResponseData, **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
| "version": "version", | ||
| } | ||
|
|
||
| def __init__(self_, description: str, handle: str, icon_url: str, name: str, version: str, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, description: str, handle: str, icon_url: str, name: str, version: str, **kwargs): | |
| def __init__(self, description: str, handle: str, icon_url: str, name: str, version: 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
8d61cbc to
81f1487
Compare
81f1487 to
5343888
Compare
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> d2497e2
See DataDog/datadog-api-spec#3739
Test branch datadog-api-spec/test/vbarth/neha.konjeti/custom-framework