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

EarningsCall / earningscall-python / 22955321581
97%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2026 01:38PM UTC
Jobs 1
Files 12
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

11 Mar 2026 01:36PM UTC coverage: 97.48% (+0.8%) from 96.723%
22955321581

push

github

web-flow
fix: raise HTTPError on failed API responses instead of returning None (#44)

Functions like get_symbols_v2(), get_sp500_companies_txt_file(),
get_events(), and get_exchanges_json() silently returned the raw
response on HTTP errors, causing downstream callers to crash with
AttributeError when trying to use the result. Now all four use
response.raise_for_status() consistently, matching the pattern
already used by get_transcript() and download_audio_file().

Adds HTTPError handling to _get_events() in company.py so 404
returns [] instead of crashing (consistent with other methods).

Also adds return type hints to all public functions in api.py,
error-path unit tests (404/500) for all fixed functions, and fixes
a missing @responses.activate decorator on an existing test.

Bumps version to 2.0.1.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

156 of 166 branches covered (93.98%)

Branch coverage included in aggregate %.

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

1 existing line in 1 file now uncovered.

579 of 588 relevant lines covered (98.47%)

0.98 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.14
-2.86% earningscall/exports.py
Jobs
ID Job ID Ran Files Coverage
1 22955321581.1 11 Mar 2026 01:38PM UTC 12
97.48
GitHub Action Run
Source Files on build 22955321581
  • Tree
  • List 12
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 4b6ed919 on github
  • Prev Build on master (#22677646099)
  • Next Build on master (#22975907674)
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