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

usabilla / api-python / 101 / 2
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: dan11218-patch-1
DEFAULT BRANCH: master
Ran 09 May 2018 09:25AM UTC
Files 1
Run time 0s
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

09 May 2018 09:21AM UTC coverage: 78.899%. First build
101.2

push

travis-ci

stevenjm
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.

86 of 109 relevant lines covered (78.9%)

0.79 hits per line

Source Files on job 101.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 91
  • Travis Job 101.2
  • 8a80f770 on github
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