-
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
Publish security notification rules API endpoints #2367
Publish security notification rules API endpoints #2367
Conversation
} | ||
|
||
def __init__( | ||
self_, attributes: CreateNotificationRuleParametersDataAttributes, type: NotificationRulesType, **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_, attributes: CreateNotificationRuleParametersDataAttributes, type: NotificationRulesType, **kwargs | |
self, attributes: CreateNotificationRuleParametersDataAttributes, type: NotificationRulesType, **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_, attributes: PatchNotificationRuleParametersDataAttributes, id: str, type: NotificationRulesType, **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_, attributes: PatchNotificationRuleParametersDataAttributes, id: str, type: NotificationRulesType, **kwargs | |
self, attributes: PatchNotificationRuleParametersDataAttributes, id: str, type: NotificationRulesType, **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: Union[CreateNotificationRuleParametersData, 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_, data: Union[CreateNotificationRuleParametersData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[CreateNotificationRuleParametersData, 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
"name": "name", | ||
} | ||
|
||
def __init__(self_, handle: Union[str, UnsetType] = unset, name: Union[str, 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_, handle: Union[str, UnsetType] = unset, name: Union[str, UnsetType] = unset, **kwargs): | |
def __init__(self, handle: Union[str, UnsetType] = unset, name: 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.
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
} | ||
|
||
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
} | ||
|
||
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: Union[PatchNotificationRuleParametersData, 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_, data: Union[PatchNotificationRuleParametersData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[PatchNotificationRuleParametersData, 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: Union[NotificationRule, 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_, data: Union[NotificationRule, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[NotificationRule, 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: NotificationRuleAttributes, id: str, type: NotificationRulesType, **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: NotificationRuleAttributes, id: str, type: NotificationRulesType, **kwargs): | |
def __init__(self, attributes: NotificationRuleAttributes, id: str, type: NotificationRulesType, **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
9031b9b
to
d492a40
Compare
c606b66
to
ea8fb8a
Compare
ea8fb8a
to
b2b84fa
Compare
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 3bd2615
See DataDog/datadog-api-spec#3495
Test branch datadog-api-spec/test/frederic.moster/notification_rules_api