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

ultimate-notion / ultimate-notion / 28278801376
87%

Build:
DEFAULT BRANCH: main
Ran 27 Jun 2026 04:42AM UTC
Jobs 5
Files 38
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

27 Jun 2026 04:38AM UTC coverage: 87.82% (-0.09%) from 87.914%
28278801376

push

github

web-flow
refactor: replace getattr file.name duck-typing with type-safe access (#393)

The `getattr(file, 'name', ...)` calls in get_mime_type and Session.upload
existed only as a runtime guard against io.BytesIO, which lacks a `name`
attribute. typeshed declares `BinaryIO.name -> str`, so direct `file.name`
access is statically type-safe; the getattr discarded that type info and
returned Any. Read `file.name` directly, guarded by `try/except
AttributeError`, preserving the existing fallback behaviour.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

0 of 13 new or added lines in 2 files covered. (0.0%)

6612 of 7529 relevant lines covered (87.82%)

4.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
54.97
-1.32% src/ultimate_notion/file.py
5
79.79
-1.13% src/ultimate_notion/session.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.11 - 28278801376.1 27 Jun 2026 04:42AM UTC 38
87.81
GitHub Action Run
2 run-ubuntu-latest-3.13 - 28278801376.2 27 Jun 2026 04:42AM UTC 38
87.81
GitHub Action Run
3 run-windows-latest-3.10 - 28278801376.3 27 Jun 2026 04:44AM UTC 38
85.06
GitHub Action Run
4 run-ubuntu-latest-3.12 - 28278801376.4 27 Jun 2026 04:43AM UTC 38
87.81
GitHub Action Run
5 run-macos-latest-3.10 - 28278801376.5 27 Jun 2026 04:42AM UTC 38
87.82
GitHub Action Run
Source Files on build 28278801376
  • Tree
  • List 38
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28278801376
  • f23386bf on github
  • Prev Build on main (#28278744380)
  • Next Build on main (#28278914085)
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