@classmethod
    def send(cls, attach_host_name=False, id=None, **body):
        if id is None:
            return HTTPClient.request('POST', cls._class_url, body,
                                      attach_host_name=attach_host_name)
        else:
            return HTTPClient.request('POST', cls._class_url + "/" + str(id), body,
                                      attach_host_name=attach_host_name)
Create an API resource object
dataset/ETHPy150Open DataDog/datadogpy/datadog/api/base.py/SendableAPIResource.send