Skip to content
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

Merged

Conversation

api-clients-generation-pipeline[bot]
Copy link
Contributor

}

def __init__(
self_, attributes: CreateNotificationRuleParametersDataAttributes, type: NotificationRulesType, **kwargs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_, attributes: PatchNotificationRuleParametersDataAttributes, id: str, type: NotificationRulesType, **kwargs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"data": "data",
}

def __init__(self_, data: Union[CreateNotificationRuleParametersData, UnsetType] = unset, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"name": "name",
}

def __init__(self_, handle: Union[str, UnsetType] = unset, name: Union[str, UnsetType] = unset, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"data": "data",
}

def __init__(self_, data: Union[PatchNotificationRuleParametersData, UnsetType] = unset, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"data": "data",
}

def __init__(self_, data: Union[NotificationRule, UnsetType] = unset, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"type": "type",
}

def __init__(self_, attributes: NotificationRuleAttributes, id: str, type: NotificationRulesType, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3495 branch 4 times, most recently from 9031b9b to d492a40 Compare January 22, 2025 10:03
@api-clients-generation-pipeline api-clients-generation-pipeline bot changed the title Add notification rules public API Publish security notification rules API endpoints Jan 23, 2025
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3495 branch 2 times, most recently from c606b66 to ea8fb8a Compare January 23, 2025 13:52
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3495 branch from ea8fb8a to b2b84fa Compare January 24, 2025 15:03
@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit 3bd2615 into master Jan 24, 2025
13 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/3495 branch January 24, 2025 19:42
github-actions bot pushed a commit that referenced this pull request Jan 24, 2025
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 3bd2615
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant