lenra-io / lenra-io/template-python

Create `handle_widget` function

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement hacktoberfest
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.