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

usabilla / api-python / 102
79%

Build:
DEFAULT BRANCH: master
Ran 09 May 2018 09:27AM UTC
Jobs 2
Files 1
Run time 2s
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
102

Pull #14

travis-ci

web-flow
Reuse connections when making API calls

By default, the Python requests module will create a new session
object each time it is called. This means that each requests.get
call has a separate connection pool and cannot reuse connections
created by previous requests.

Here we create a class variable with a requests session, which is
used for all instances of the APIClient class.
Pull Request #14: Reuse connections when making API calls

2 of 2 new or added lines in 1 file covered. (100.0%)

86 of 109 relevant lines covered (78.9%)

1.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
usabilla.py
Jobs
ID Job ID Ran Files Coverage
1 102.1 09 May 2018 09:27AM UTC 0
78.9
Travis Job 102.1
2 102.2 09 May 2018 09:27AM UTC 0
78.9
Travis Job 102.2
Source Files on build 102
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #102
  • Pull Request #14
  • PR Base - master (#99)
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

© 2025 Coveralls, Inc