-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement reverse JMESPath support to build params
This adds proper reverse JMESPath support so that we can now build all parameters properly. The following did not work before, but does now because we can build up the filters array structure: ```python ec2 = boto3.resource('ec2') instances = ec2.instances.filter( Filters=[{'Name': 'instance-type', 'Values': ['m1.small']}]) for instance in instances: print(instance.id) ``` Tests are added to cover the various cases of `dict` and `list` combinations.
- Loading branch information
1 parent
334aa9d
commit 3df00fd
Showing
2 changed files
with
102 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters