-
Notifications
You must be signed in to change notification settings - Fork 48
add include
parameter to On-Call team rules test
#2582
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
add include
parameter to On-Call team rules test
#2582
Conversation
bb42a97
to
969f4a1
Compare
@@ -30,13 +32,13 @@ def openapi_types(_): | |||
"data": "data", | |||
} | |||
|
|||
def __init__(self_, data: RoutingRuleRelationshipsPolicyData, **kwargs): | |||
def __init__(self_, data: Union[RoutingRuleRelationshipsPolicyData, 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[RoutingRuleRelationshipsPolicyData, UnsetType] = unset, **kwargs): | |
def __init__(self, data: Union[RoutingRuleRelationshipsPolicyData, 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
626f033
to
2c35e78
Compare
@@ -25,15 +32,15 @@ def openapi_types(_): | |||
"workspace": "workspace", | |||
} | |||
|
|||
def __init__(self_, channel: str, type: str, workspace: str, **kwargs): | |||
def __init__(self_, channel: str, type: SendSlackMessageActionType, workspace: str, **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_, channel: str, type: SendSlackMessageActionType, workspace: str, **kwargs): | |
def __init__(self, channel: str, type: SendSlackMessageActionType, workspace: 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
@@ -27,7 +34,7 @@ def openapi_types(_): | |||
"type": "type", | |||
} | |||
|
|||
def __init__(self_, channel: str, team: str, tenant: str, type: str, **kwargs): | |||
def __init__(self_, channel: str, team: str, tenant: str, type: SendTeamsMessageActionType, **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_, channel: str, team: str, tenant: str, type: SendTeamsMessageActionType, **kwargs): | |
def __init__(self, channel: str, team: str, tenant: str, type: SendTeamsMessageActionType, **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
2c35e78
to
87a4f73
Compare
See DataDog/datadog-api-spec#3908
Test branch datadog-api-spec/test/bndbsh/oncall-include