python-digitalocean icon indicating copy to clipboard operation
python-digitalocean copied to clipboard

Add CDN Endpoint API to create, update and delete.

Open ajite opened this issue 2 years ago β€’ 1 comments

Updated manager to do not submit body params during request when params argument was set to False.

        if params is False:
            del kwargs['data']

The API will return an error when submitting params (even empty).

The default behaviour sets the β€œparams" to an empty dict when its value is equal to None.

        if params is None:
            params = dict()

This does not work with the CDN Enpoints API. I did not want to change this behaviour since it was probably made because other API endpoints needed a body (even if empty).

I am aware that is not the most elegant solution though.

ajite avatar Nov 22 '21 03:11 ajite

Interestingly, no workflow started :O I'll look into it so that tests will work

koalalorenzo avatar Apr 27 '22 12:04 koalalorenzo

@ajite could you try adding a commit that would trigger the tests again? πŸ€”

koalalorenzo avatar Oct 13 '22 08:10 koalalorenzo

Hi,

I merged the main branch new content to my PR. It seems to have triggered github actions. I wrote that PR a while ago, I am not sure how relevant it still is.

ajite avatar Oct 25 '22 02:10 ajite