AnswerDotAI / AnswerDotAI/fasthtml
[BUG] fasthtml-example(s) missing import (with fix)
- Dominant language
- Jupyter Notebook
- Stars
- 7k
- Forks
- 319
- Avg merge
- 28m
- Merged PRs (30d)
- 3
Description
Hi, I tried to run two of your examples on a mac with python 3.14 (brew)
https://github.com/AnswerDotAI/fasthtml-example/tree/main/01_todo_app
https://github.com/AnswerDotAI/fasthtml-example/tree/main/annotate_text
**Both failed complaining about "Card" and "Group" missing**
After some digging in your docs - I found that adding this line **fixed it** for both examples.
_from fasthtml.pico import *_
Otherwise fasthtml seems very nice!
Regards
Contributor guide
Research direction
Start with the linked fasthtml-example/01_todo_app and fasthtml-example/annotate_text examples and reproduce the missing Card and Group errors on Python 3.14. Verify that both examples run successfully with the documented fasthtml.pico import present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100