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

ultimate-notion / ultimate-notion / 28282725302
87%

Build:
DEFAULT BRANCH: main
Ran 27 Jun 2026 07:38AM 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

27 Jun 2026 07:36AM UTC coverage: 58.753% (-29.0%) from 87.734%
28282725302

push

github

web-flow
Adding the Data Source API from Notion API version 2025-09-03 (#178)

* Add an initial CLAUDE.md

* docs: Add detailed migration plan for Notion API 2025-09-03

- Document conceptual changes (database -> datasource terminology)
- Define full-word naming convention (no abbreviations)
- Detail 7-phase migration plan with code examples
- List all files requiring changes (316 occurrences across 24 files)
- Add risk assessment and effort estimates
- Include often-overlooked items (errors, mentions, exports)

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* build: Upgrade notion-client to ~=2.7.0

Upgrade to notion-sdk-py 2.7.0 which supports Notion API version
2025-09-03 with the new datasource concept.

Key changes in notion-sdk-py 2.7.0:
- New DataSourcesEndpoint with retrieve, query, create, update methods
- DatabasesEndpoint.query moved to DataSourcesEndpoint.query
- Databases now represent containers for multiple data sources

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat(obj_api): Add DataSource class and DataSourcesEndpoint for API 2025-09-03

Phase 2 of the Notion API 2025-09-03 migration:

Low-level obj_api changes:
- Add DataSource class (formerly Database functionality)
- Add DataSourceRef and MentionDataSource in objects.py
- Add ChildDataSource block type
- Create DataSourcesEndpoint with create, retrieve, update, delete, query
- Update DatabasesEndpoint (now container concept, removed query)
- Update PropertyRelation to use data_source_id as primary key
- Rename DBQueryBuilder to DataSourceQueryBuilder
- Rename DBSort to DataSourceSort, DBQuery to DataSourceQuery
- Update SearchQueryBuilder with datasource_only filter

The high-level API (Phase 3) still references the old Database concept
and will be updated in a subsequent commit.

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

Co-Authored-By... (continued)

297 of 517 new or added lines in 18 files covered. (57.45%)

2071 existing lines in 29 files now uncovered.

4551 of 7746 relevant lines covered (58.75%)

4.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
73
55.56
-36.8% src/ultimate_notion/database.py
41
30.69
-63.36% src/ultimate_notion/query.py
31
52.16
-38.2% src/ultimate_notion/schema.py
17
51.77
-33.81% src/ultimate_notion/obj_api/endpoints.py
9
78.96
-15.86% src/ultimate_notion/obj_api/objects.py
9
53.07
-26.99% src/ultimate_notion/session.py
7
67.66
-15.77% src/ultimate_notion/core.py
7
37.04
-38.18% src/ultimate_notion/view.py
6
35.56
-50.22% src/ultimate_notion/blocks.py
6
86.79
-4.72% src/ultimate_notion/obj_api/query.py
5
52.63
-34.21% src/ultimate_notion/page.py
4
89.16
-7.73% src/ultimate_notion/obj_api/blocks.py
3
88.68
-10.69% src/ultimate_notion/obj_api/schema.py
1
85.19
-3.28% src/ultimate_notion/errors.py
1
82.99
-8.3% src/ultimate_notion/obj_api/core.py

Coverage Regressions

Lines Coverage ∆ File
470
35.56
-50.22% src/ultimate_notion/blocks.py
310
30.69
-63.36% src/ultimate_notion/query.py
239
52.16
-38.2% src/ultimate_notion/schema.py
128
37.04
-38.18% src/ultimate_notion/view.py
113
51.77
-33.81% src/ultimate_notion/obj_api/endpoints.py
99
40.64
-45.21% src/ultimate_notion/utils.py
78
53.07
-26.99% src/ultimate_notion/session.py
75
52.63
-34.21% src/ultimate_notion/page.py
66
30.08
-49.62% src/ultimate_notion/cli.py
60
69.91
-18.24% src/ultimate_notion/adapters/google/tasks/client.py
60
63.1
-23.81% src/ultimate_notion/props.py
49
62.94
-28.82% src/ultimate_notion/rich_text.py
44
56.2
-32.12% src/ultimate_notion/markdown.py
44
78.96
-15.86% src/ultimate_notion/obj_api/objects.py
44
46.67
-41.9% src/ultimate_notion/option.py
31
55.56
-36.8% src/ultimate_notion/database.py
23
67.66
-15.77% src/ultimate_notion/core.py
19
82.99
-8.3% src/ultimate_notion/obj_api/core.py
18
49.12
-31.58% src/ultimate_notion/comment.py
16
89.16
-7.73% src/ultimate_notion/obj_api/blocks.py
15
61.54
-23.08% src/ultimate_notion/emoji.py
15
46.2
-8.77% src/ultimate_notion/file.py
14
88.68
-10.69% src/ultimate_notion/obj_api/schema.py
13
62.12
-19.7% src/ultimate_notion/user.py
9
90.66
-4.95% src/ultimate_notion/obj_api/props.py
8
86.79
-4.72% src/ultimate_notion/obj_api/query.py
7
46.15
-53.85% src/ultimate_notion/templates/__init__.py
3
89.13
-3.0% src/ultimate_notion/obj_api/iterator.py
1
85.19
-3.28% src/ultimate_notion/errors.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.14 - 28282725302.1 27 Jun 2026 07:42AM UTC 38
58.74
GitHub Action Run
2 run-macos-latest-3.10 - 28282725302.2 27 Jun 2026 07:38AM UTC 38
58.75
GitHub Action Run
3 run-ubuntu-latest-3.13 - 28282725302.3 27 Jun 2026 07:38AM UTC 38
58.75
GitHub Action Run
4 run-ubuntu-latest-3.12 - 28282725302.4 27 Jun 2026 07:38AM UTC 38
58.75
GitHub Action Run
5 run-ubuntu-latest-3.11 - 28282725302.5 27 Jun 2026 07:38AM UTC 38
58.75
GitHub Action Run
6 run-ubuntu-latest-3.10 - 28282725302.6 27 Jun 2026 07:40AM UTC 38
58.75
GitHub Action Run
7 run-windows-latest-3.10 - 28282725302.7 27 Jun 2026 07:40AM UTC 38
48.54
GitHub Action Run
Source Files on build 28282725302
  • Tree
  • List 38
  • Changed 31
  • Source Changed 22
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28282725302
  • 913f444c on github
  • Prev Build on main (#28279960492)
  • Next Build on main (#28285209357)
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