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

Delete request to the global suppression group raises a syntax error #1038

Open
m-reidy opened this issue Jan 26, 2022 · 1 comment
Open
Labels
status: help wanted requesting help from the community type: bug bug in the library type: community enhancement feature request not on Twilio's roadmap type: twilio enhancement feature request on Twilio's roadmap

Comments

@m-reidy
Copy link

m-reidy commented Jan 26, 2022

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

@childish-sambino
Copy link
Contributor

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

@childish-sambino childish-sambino added status: help wanted requesting help from the community type: bug bug in the library type: community enhancement feature request not on Twilio's roadmap type: twilio enhancement feature request on Twilio's roadmap labels Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted requesting help from the community type: bug bug in the library type: community enhancement feature request not on Twilio's roadmap type: twilio enhancement feature request on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

2 participants