Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add context to lambda var #1897

Merged
merged 6 commits into from
Oct 3, 2024
Merged

add context to lambda var #1897

merged 6 commits into from
Oct 3, 2024

Conversation

FredLL-Avaiga
Copy link
Member

@FredLL-Avaiga FredLL-Avaiga commented Oct 3, 2024

resolves #1893

import taipy as tp
from demo_1893_page_2 import page

value = 10

tp.Gui(page).run(title="1893 Lambda functions not working when page is imported", debug=True)
import taipy.gui.builder as tgb

with tgb.Page() as page:
    tgb.text(lambda value: str(value))

@FredLL-Avaiga FredLL-Avaiga added 🟥 Priority: Critical Must be addressed as soon as possible 💥Malfunction Addresses an identified problem. Gui: Back-End labels Oct 3, 2024
@FredLL-Avaiga FredLL-Avaiga self-assigned this Oct 3, 2024
Fred Lefévère-Laoide added 2 commits October 3, 2024 15:04
Copy link
Contributor

github-actions bot commented Oct 3, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
18924 16394 87% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
taipy/gui/_renderers/builder.py 82% 🟢
taipy/gui/builder/_element.py 91% 🟢
taipy/gui/builder/_utils.py 90% 🟢
taipy/gui/gui.py 79% 🟢
taipy/gui/utils/_evaluator.py 85% 🟢
taipy/gui/utils/_lambda.py 100% 🟢
TOTAL 88% 🟢

updated for commit: bc0c6a0 by action🐍

dinhlongviolin1
dinhlongviolin1 previously approved these changes Oct 3, 2024
namnguyen20999
namnguyen20999 previously approved these changes Oct 3, 2024
Copy link
Member

@namnguyen20999 namnguyen20999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

FabienLelaquais
FabienLelaquais previously approved these changes Oct 3, 2024
Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

taipy/gui/builder/_element.py Outdated Show resolved Hide resolved
taipy/gui/gui.py Show resolved Hide resolved
Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@FredLL-Avaiga FredLL-Avaiga merged commit e15585e into develop Oct 3, 2024
126 checks passed
@FredLL-Avaiga FredLL-Avaiga deleted the bug/1893-lambda-page branch October 3, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gui: Back-End 💥Malfunction Addresses an identified problem. 🟥 Priority: Critical Must be addressed as soon as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🐛 BUG] Lambda functions not working when page is imported
4 participants