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

boto / boto3 / 170
91%

Build:
DEFAULT BRANCH: develop
Ran 08 Dec 2014 07:18PM 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
170

Pull #32

travis-ci

danielgtaylor
Implement batch actions.

This change implements batch actions on collections:

```python
s3.Bucket('boto3').objects.delete()
```

It does the following:

* Create a `CollectionFactory` class to generate subclasses of
  `CollectionManager` and `ResourceCollection`.
* Update the `ResourceFactory` to use the new `CollectionFactory`.
* Add a public `pages()` method to collections. This returns entire
  pages of resource instances and it used by `__iter__` as well.
* Add batch actions as methods via the new `CollectionFactory`.
* Add a `BatchAction` subclass of `Action` which does the following:

    1. Get a page of results from the collection's operation
    2. Build parameters for the batch action operation
    3. Call the batch action operation
    4. Repeat until no more pages

* Makes some previously public members private on `Action` as these
  should never have been public.
* Update documentation to include collection classes.
* Add tests to cover the new functionality.
Pull Request #32: Implement batch actions.

88 of 88 new or added lines in 5 files covered. (100.0%)

668 of 678 relevant lines covered (98.53%)

4.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 170.1 08 Dec 2014 07:18PM UTC 0
98.23
Travis Job 170.1
2 170.2 08 Dec 2014 07:18PM UTC 0
98.23
Travis Job 170.2
3 170.3 08 Dec 2014 07:19PM UTC 0
98.53
Travis Job 170.3
4 170.4 08 Dec 2014 07:19PM UTC 0
98.53
Travis Job 170.4
5 170.5 08 Dec 2014 07:18PM UTC 0
98.23
Travis Job 170.5
Source Files on build 170
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #170
  • Pull Request #32
  • PR Base - develop (#168)
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