• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

boto / boto3 / 16
96%
develop: 91%

Build:
Build:
LAST BUILD BRANCH: 1.1.4
DEFAULT BRANCH: develop
Ran 13 Oct 2014 07:43PM UTC
Jobs 5
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
16

push

travis-ci

danielgtaylor
Implement resource collections

This change implements support for resource collections that mimic Django's
query set API so that things like this are possible:

    >>> s3 = boto3.resource('s3')
    >>> for bucket in s3.buckets.all():
    ...     for obj in bucket.objects.limit(100):
    ...         print(bucket.name, obj.key)

Implements the following for collections:

* Non-iterable collection manager (e.g. `s3.buckets`)
* Iterable `ResourceCollection` base class (e.g. `s3.buckets.all()`)
* Chainable resource collection API (via clones)
* Filtering via `.filter(Arg1=1, Arg2=2)`
* Control item count via `.filter(limit=20)` or `.limit(20)`
* Control page size via `.filter(page_size=100)` or `.page_size(100)`
* Exposing `all`, `filter`, `limit`, and `page_size` on the manager
* Updated documentation

Also adds tests for all the relevant features. Note that batch actions
are *not* included in this change.

83 of 83 new or added lines in 2 files covered. (100.0%)

397 of 413 relevant lines covered (96.13%)

4.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16.1 13 Oct 2014 07:43PM UTC 0
95.88
Travis Job 16.1
2 16.2 13 Oct 2014 07:43PM UTC 0
95.4
Travis Job 16.2
3 16.3 13 Oct 2014 07:44PM UTC 0
95.4
Travis Job 16.3
4 16.4 13 Oct 2014 07:44PM UTC 0
95.4
Travis Job 16.4
5 16.5 13 Oct 2014 07:43PM UTC 0
95.4
Travis Job 16.5
Source Files on build 16
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #16
  • 1ccfa2e2 on github
  • Next Build on collections (#24)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc