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

ultimate-notion / ultimate-notion / 27776236680
87%

Build:
DEFAULT BRANCH: main
Ran 18 Jun 2026 05:09PM 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

18 Jun 2026 05:07PM UTC coverage: 88.074% (-0.02%) from 88.09%
27776236680

push

github

web-flow
Type TypedObject.type as str | None to drop bare type: ignore (#205)

The `type` field on `TypedObject` carried a bare `# type: ignore` masking
an `[assignment]` error: `None` is not assignable to `str`. The annotation
was inaccurate — the field is `None` on the abstract polymorphic base and a
real `str` on concrete subclasses (set via `_set_field_default` in
`_register_type`). Annotating it `str | None` reflects the actual runtime
values, mirroring the earlier fix for the sibling `object` field (#204).

A new `_type_name` property narrows `str | None` to `str` for the call sites
that index by the type name, raising a clear `ValueError` if it is unexpectedly
`None` (which never happens on a concrete instance) instead of the previous
opaque `getattr(self, None)` `TypeError`. It is used in `value`/`value.setter`,
`BlocksEndpoint.update`, `Property.prop_value`, `Mention.type`, and
`Formula.value_type`.

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

13 of 15 new or added lines in 5 files covered. (86.67%)

6521 of 7404 relevant lines covered (88.07%)

6.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.65
-0.6% src/ultimate_notion/obj_api/core.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.11 - 27776236680.1 18 Jun 2026 05:09PM UTC 38
88.07
GitHub Action Run
2 run-ubuntu-latest-3.14 - 27776236680.2 18 Jun 2026 05:09PM UTC 38
88.07
GitHub Action Run
3 run-windows-latest-3.10 - 27776236680.3 18 Jun 2026 05:13PM UTC 38
85.28
GitHub Action Run
4 run-macos-latest-3.10 - 27776236680.4 18 Jun 2026 05:10PM UTC 38
88.07
GitHub Action Run
5 run-ubuntu-latest-3.10 - 27776236680.5 18 Jun 2026 05:10PM UTC 38
88.07
GitHub Action Run
6 run-ubuntu-latest-3.13 - 27776236680.6 18 Jun 2026 05:09PM UTC 38
88.07
GitHub Action Run
7 run-ubuntu-latest-3.12 - 27776236680.7 18 Jun 2026 05:09PM UTC 38
88.07
GitHub Action Run
Source Files on build 27776236680
  • Tree
  • List 38
  • Changed 5
  • Source Changed 5
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27776236680
  • b5e8e1d2 on github
  • Prev Build on main (#27775055331)
  • Next Build on main (#27778111238)
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