-
Notifications
You must be signed in to change notification settings - Fork 714
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
Mail Helper Refactor - Call for Feedback #323
Comments
@elbuo8, @dibyadas, @w-, @belfazt, @mehronkugler, @yamamanx, @bwhmather-joivy, @andriisoldatenko, @jeffoneill, @Jakobovski If you are tagged on this message, it means we are particularly interested in your feedback :) If you don't have the time, no worries and my apologies for the disturbance. If you do have the time, please take a look at the proposed helper upgrade above and let us know what you think. Any and all feedback is greatly appreciated. Thanks in advance! |
Could you please elaborate on this? Does this relate to versions of the Python sendgrid-python library or of the Sendgrid REST API? I'm currently using sendgrid-python 3.6.3 and have been using that version since February. I thought this library sent emails using Sendgrid v3 API that is documented here. It seems I am already using a third version of both so it isn't clear to me what is being proposed. |
I find having multiple properties to reference the same output can get confusing.
I would make the interface accept either a string or a list and perform validations as needed. |
Adding the ability to send a request asynchronously would be nice |
This relates particularly to the You may also notice we are wrapping all the input data in objects. This is so that we can do client side validation easier. Good call! Thanks for responding so quickly :) I would love to add that! That request is out of scope for this iteration, but we have your issue on our backlog. Issues gain priority in our backlog when we get additional +1's or a PR. When we receive a PR, that provides the biggest jump in priority. |
Hey, @elbuo8. Hi ;) |
@thinkingserious when do you plan to start working on changes? Should we start now or wait some review of document? How do you plan to split work between contributors? |
Hi everyone! @thinkingserious With Regards, |
The goal was to get at least 3 thumbs up from the community before proceeding with code. It looks like we are there now. That said, we have a few things on our backlog ahead of this project, so if you want to kick things off in a new fork from this branch, that would be awesome. The scope of this work is to implement the interfaces defined in the proposal. No worries! I'm glad things are progressing with your intern work and academics. I'm sure we will be using elements of your work as we progress and you will receive due credit :) |
With regards to Python 2.6, I believe it's time to sunset support for that, since now it's no longer supported by the Python Core Team. Any thoughts on that? |
If you decide to kick things off, please drop a note here. I will do the same so that either of don't end up duplicating efforts. |
The only thing that I thought looked confusing is what @elbuo8 said. Everything else looks good |
If you have a moment, your sage advice would be appreciated :) |
Thanks @belfazt, I will fix that :) |
My only real complaint (aside from agreeing with @elbuo8 also) is this, which is found in several places in the proposal: While this is certainly better than just |
Thanks for being awesome and responding so quickly! Your wish is our command: sendgrid/python-http-client#17 I need to update the docs to reflect those changes. |
I very much like the application of named arguments in the Mail helper and the other helpers. Overall, I can see I'll need fewer lines of code to implement things, so thank you. Question: Is the structure of the dict that's being assembled behind the scenes by these helpers changing in any way? Or is it just the implementation of the helpers that's changing? Having mail CCs outside of the To object is a bit confusing to me. I think it's logical to group/nest data per personalization together, rather than breaking out and grouping CC, BCCs together with a personalization reference (unless I'm reading it wrong). I won't need Python 2.6 support over here, so +1 for moving forward. |
Hi @mehronkugler, Yes, the implementation of the helpers is changing currently. The structure of the dict is not changing this time around. For now, it will continue to closely mirror the underlying API. Thank you very much for your feedback! With Best Regards, Elmer |
Implementation will be tracked in this issue. |
Hello!
It is now time to implement the final piece of our v2 to v3 migration. Before we dig into writing the code, we would love to get feedback on the proposed interface.
The text was updated successfully, but these errors were encountered: