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

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

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

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%)

1.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 101.1 09 May 2018 09:25AM UTC 0
78.9
Travis Job 101.1
2 101.2 09 May 2018 09:25AM UTC 0
78.9
Travis Job 101.2
Source Files on build 101
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #101
  • 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

© 2025 Coveralls, Inc