Could you please provide example of how plumbum filter works? I wasn't able to figure out how it work and receiving errors all the time.
Traceback (most recent call last):
File "/home/vagrant/.pyenv/versions/2.7.6/bin/plumbum", line 11, in <module>
sys.exit(main())
File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 222, in main
resources = list_resources[namespace](region, filters)
File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 136, in list_elb
return lookup(instances, filter_by=filter_by_kwargs)
File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 82, in lookup
return list(filter(filter_key(filter_by), instances))
File "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/site-packages/plumbum.py", line 76, in filter_instance
for key, value in filter_args.items()])
AttributeError: 'str' object has no attribute 'items'
Could you please provide example of how plumbum filter works? I wasn't able to figure out how it work and receiving errors all the time.