-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Update events to emit model/session objects #1214
Conversation
This commit updates the events emitted in cli driver to emit service/operation object alternatives. This change allows handlers to be updated to not require service/operation objects. In many cases, some handlers took an `operation` object, but did not actually use this, so these changes were minimal. Note that this puts the CLI in an interim state. The plan is to not merge this into the develop branch until clidriver is switched over, but this will allow a common base for all customization switchovers to be based on.
This will fail until boto/botocore#487 is merged. It's been reviewed so I'll go ahead and merge and resubmit this build request. |
We don't really need the help text for these tests
@@ -201,6 +201,9 @@ def test_no_paginate_arg(self): | |||
p = aws('s3api list-objects --bucket %s --no-paginate' % bucket_name) | |||
self.assertEqual(p.rc, 0, p.stdout + p.stderr) | |||
|
|||
p = aws('s3api list-objects --bucket %s' % bucket_name) |
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.
Is this just to make sure pagination works? Its under the no pagination test though.
Looks good. I had just a few some small comments. |
LGTM |
Closing in favor of #1220, which is more comprehensive and includes this PR. |
This commit updates the events emitted in cli driver
to emit service/operation object alternatives. This change
allows handlers to be updated to not require service/operation
objects.
In many cases, some handlers took an
operation
object, butdid not actually use this, so these changes were minimal.
Note that this puts the CLI in an interim state. The plan is
to not merge this into the develop branch until clidriver is
switched over, but this will allow a common base for all
customization switchovers to be based on. This is why
this is a pull against the clidriver-no-clients branch for its
base, not develop.
cc @kyleknap @danielgtaylor