TypeError: __init__() got an unexpected keyword argument 'status'
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 470
- PR merge metrics
- No merged PRs in 30d
Description
When Trying to run a simple example, I am getting this Type Error. could be Notion changed something?
file "/usr/local/lib/python3.5/dist-packages/notion/client.py", line 40, in create_session
method_whitelist=("POST", "HEAD", "TRACE", "GET", "PUT", "OPTIONS", "DELETE"),
TypeError: __init__() got an unexpected keyword argument 'status'
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in notion/client.py at create_session, especially the constructor call around line 40, and reproduce the reported simple example. Investigate which dependency provides the constructor and why it rejects the status keyword. Done means the example creates a session without this TypeError.
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
- Needs clarification
- Newbie friendliness
- 32/100