-
Notifications
You must be signed in to change notification settings - Fork 726
Open
Labels
status: help wantedrequesting help from the communityrequesting help from the communitytype: bugbug in the librarybug in the librarytype: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmaptype: twilio enhancementfeature request on Twilio's roadmapfeature request on Twilio's roadmap
Description
Issue Summary
Following the API reference guide for Python to delete an entry in the global suppression group raises a syntax error.
(https://docs.sendgrid.com/api-reference/suppressions-global-suppressions/delete-a-global-suppression)
The following line of code contains a name which conflicts with the global builtin - raising an uncontrolled exception.
response = sg.client.asm.suppressions.global._(email).delete()
Steps to Reproduce
Attempt to make a call to the API as directed.
Technical details:
Running Django 3.2.8 / Python 3.10 / latest sendgrid-python version
tkhorne, murphycj and ADickerMS
Metadata
Metadata
Assignees
Labels
status: help wantedrequesting help from the communityrequesting help from the communitytype: bugbug in the librarybug in the librarytype: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmaptype: twilio enhancementfeature request on Twilio's roadmapfeature request on Twilio's roadmap