for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from base import DatadogBaseAction
DatadogBaseAction
base
from datadog import api
class DatadogCreateComment(DatadogBaseAction):
def _run(self, **kwargs):
return api.Comment.create(**kwargs)
class DatadogDeleteComment(DatadogBaseAction):
return api.Comment.delete(kwargs.pop("comment_id"))
class DatadogEditComment(DatadogBaseAction):
return api.Comment.update(kwargs.pop("comment_id"), **kwargs)