prompt-toolkit / prompt-toolkit/python-prompt-toolkit
style_from_dict / Token is not found inside version 8.0.0
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
The docs show usage of setting bottom toolbar style using style_From_dict method
and Token
But both are not found in the packages:
from prompt_toolkit.styles import style_from_dict
from prompt_toolkit.token import Token
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the documented bottom-toolbar example with the current prompt_toolkit.styles and prompt_toolkit.token modules, focusing on style_from_dict and Token. Confirm whether the imports are obsolete or whether the documentation is incorrect; done means the example and package API agree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100