jamalex / jamalex/notion-py

Escape numbered list

Open
#280 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

```
table_link = "..."
cv = client.get_collection_view(table_link)
row = cv.collection.add_row()
row.name = "1. Two Sum"
```

I'm trying to set the row name as "1. Two Sum" with the numbered prefix. However, notion automatically render or convert number prefixed string. So the name of the row just becomes "Two Sum".

How can I escape this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with client.get_collection_view(table_link), cv.collection.add_row(), and the name "1. Two Sum". Determine whether the client or Notion converts the numbered prefix, then verify that the row name retains the prefix when the issue is resolved.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.