Update events intake specs for v2 Events post endpoint#2652
Conversation
|
|
||
|
|
||
| class AlertEventCustomAttributesCustom(ModelNormal): | ||
| def __init__(self_, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, **kwargs): | |
| def __init__(self, **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_, id: Union[str, UnsetType] = unset, **kwargs): | ||
| def __init__(self_, id: Union[str, UnsetType] = unset, uid: Union[str, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, id: Union[str, UnsetType] = unset, uid: Union[str, UnsetType] = unset, **kwargs): | |
| def __init__(self, id: Union[str, UnsetType] = unset, uid: 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
| type: Union[EventCreateRequestType, UnsetType] = unset, | ||
| **kwargs, | ||
| ): | ||
| def __init__(self_, attributes: EventPayload, type: EventCreateRequestType, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, attributes: EventPayload, type: EventCreateRequestType, **kwargs): | |
| def __init__(self, attributes: EventPayload, type: EventCreateRequestType, **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_, data: Union[EventCreateRequest, UnsetType] = unset, **kwargs): | ||
| def __init__(self_, data: EventCreateRequest, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, data: EventCreateRequest, **kwargs): | |
| def __init__(self, data: EventCreateRequest, **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
| } | ||
|
|
||
| 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
|
|
||
| def __init__(self_, data: Union[EventCreateResponse, UnsetType] = unset, **kwargs): | ||
| 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
| "self": "self", | ||
| } | ||
|
|
||
| def __init__(self_, self: Union[str, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
🔴 Code Quality Violation
| def __init__(self_, self: Union[str, UnsetType] = unset, **kwargs): | |
| def __init__(self, self: 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
88409a1 to
69996a9
Compare
69996a9 to
62b953e
Compare
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> fa8f82d
See DataDog/datadog-api-spec#4001
Test branch datadog-api-spec/test/revert-3991-revert-3949-yuqing.bian/update-event-post-v2