jamalex / jamalex/notion-py

CollectionRowBlock column names hid class attributes with the same name

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
470
PR merge metrics
No merged PRs in 30d

Description

If a CollectionRowBlock has a column with the name "collection" or something like that, the column accessor will replace the original class property "collection".

Example:
We have a CollectionRowBlock `rowBlock` with a column "collection" that has a value "test". When you run `rowBlock.collection` you would expect it to return the actual parent collection this RowBlock belongs to. Instead it would return "test".

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating CollectionRowBlock and the column accessor that handles names such as "collection". Reproduce the example with a column named "collection" and verify that rowBlock.collection still returns the parent collection rather than the column value, while other column access remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.