-
Notifications
You must be signed in to change notification settings - Fork 24
Add initial aws-sdk-signers package #393
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
Conversation
|
I'll take a look at the new docformatter tomorrow, some of these suggestions are definitely not what we want. We may need to tweak the config. |
JordonPhillips
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure we've got a task to resolve these shared code issues. The IO stuff is easy enough to extract. Having an HTTP package with just protocols might be a bit weird, but probably reasonable?
| chain.from_iterable( | ||
| fld.as_tuples() | ||
| for fld in request.fields.get_by_type(FieldPosition.HEADER) | ||
| for fld in request.fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this change made?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not actually adding the FieldPosition correctly for headers so we end up with an empty list here. I have a task to go back and work out what's failing. This was a carry over from the original client POC that I still need to sort out.
62730e4 to
8b0ec44
Compare
0fd8a21 to
0258cf2
Compare
Overview
The PR adds a
aws-sdk-signerspackage with basic SigV4 signing capabilities. This will need to be wired up to our clients in a follow up PR and then added to sign events for the aws-eventstream implementation.The goal is this package can live inside the smithy-python repo long term while also being able to be distributed independently of any of the smithy-* libraries. There is still some work needed to fully decouple typing for that which will be done in a future PR.
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.