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

ultimate-notion / ultimate-notion / 27945208756 / 1
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 22 Jun 2026 10:13AM UTC
Files 38
Run time 2s
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.1

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>

6592 of 7557 relevant lines covered (87.23%)

0.87 hits per line

Source Files on job run-macos-latest-3.10 - 27945208756.1
  • Tree
  • List 38
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27945208756
  • 27a51323 on github
  • Prev Job for on main (#27943430721.3)
  • Next Job for on main (#27946354950.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc