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

ultimate-notion / ultimate-notion / 27945208756
87%

Build:
DEFAULT BRANCH: main
Ran 22 Jun 2026 10:11AM UTC
Jobs 7
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

22 Jun 2026 10:08AM UTC coverage: 87.23% (-0.08%) from 87.309%
27945208756

push

github

web-flow
Replace cast(Self, model_construct(...)) with isinstance guards in props (#266)

Remove four `cast(Self, ...)` downcasts from the `build` classmethods in
`obj_api/props.py`, replacing each with an `isinstance(obj, cls)` guard
that narrows `model_construct`'s result to `Self` for the type checker and
raises `TypeError` otherwise, matching the existing narrowing idiom
introduced for `wrap_obj_ref` and `_cache_add`.

The pydantic mypy plugin types `model_construct` as returning the concrete
class rather than `Self`, so the casts were not redundant; the guard
preserves the type narrowing without a `cast`. The file can now drop its
unused `cast` import.

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

13 of 21 new or added lines in 1 file covered. (61.9%)

6592 of 7557 relevant lines covered (87.23%)

6.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
95.6
-4.4% src/ultimate_notion/obj_api/props.py
Jobs
ID Job ID Ran Files Coverage
1 run-macos-latest-3.10 - 27945208756.1 22 Jun 2026 10:12AM UTC 38
87.23
GitHub Action Run
2 run-ubuntu-latest-3.14 - 27945208756.2 22 Jun 2026 10:11AM UTC 38
87.23
GitHub Action Run
3 run-ubuntu-latest-3.11 - 27945208756.3 22 Jun 2026 10:11AM UTC 38
87.23
GitHub Action Run
4 run-windows-latest-3.10 - 27945208756.4 22 Jun 2026 10:12AM UTC 38
84.48
GitHub Action Run
5 run-ubuntu-latest-3.13 - 27945208756.5 22 Jun 2026 10:11AM UTC 38
87.23
GitHub Action Run
6 run-ubuntu-latest-3.12 - 27945208756.6 22 Jun 2026 10:11AM UTC 38
87.23
GitHub Action Run
7 run-ubuntu-latest-3.10 - 27945208756.7 22 Jun 2026 10:13AM UTC 38
87.23
GitHub Action Run
Source Files on build 27945208756
  • Tree
  • List 38
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27945208756
  • 27a51323 on github
  • Prev Build on main (#27943430721)
  • Next Build on main (#27946354950)
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