lenra-io / lenra-io/template-python
Create `handle_widget` function
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
This must find the correct widget in a map using it's name as key.
And execute the widget method/function with arguments data, props, context
The widget must return a JSON representation of an UI.
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 locating the Python application entry point and any existing widget map or dispatch code. Implement the handle_widget function so it selects a widget by name, calls it with data, props, and context, and returns the widget's JSON UI representation; verify the expected behavior with the project's available checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100