Skip to content

Add to_docx to report and tweak report#1468

Draft
ahuang11 wants to merge 11 commits into
mainfrom
add_report_export
Draft

Add to_docx to report and tweak report#1468
ahuang11 wants to merge 11 commits into
mainfrom
add_report_export

Conversation

@ahuang11

@ahuang11 ahuang11 commented Oct 28, 2025

Copy link
Copy Markdown
Contributor

Builds on #1470

  1. Make report not get schema if provided schema
  2. Do not create sql_metaset (which calls get_schema and get_metadata)
  3. Add to_docx and docx download button (which uses a docx template)
image image

@ahuang11
ahuang11 requested a review from philippjfr October 28, 2025 00:56
Comment thread lumen/ai/report.py
and generates an LumenOutput to be rendered.
"""

generate_caption = param.Boolean(default=True, doc="""

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Keying on user_content instead of a separate param

@ahuang11
ahuang11 marked this pull request as ready for review October 28, 2025 23:44
@codecov

codecov Bot commented Oct 28, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 8.69565% with 84 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.11%. Comparing base (639f4de) to head (ad076a9).
⚠️ Report is 271 commits behind head on main.

Files with missing lines Patch % Lines
lumen/ai/export.py 8.57% 64 Missing ⚠️
lumen/ai/report.py 5.26% 18 Missing ⚠️
lumen/ai/schemas.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1468      +/-   ##
==========================================
- Coverage   49.14%   48.11%   -1.04%     
==========================================
  Files         124      124              
  Lines       21388    21468      +80     
==========================================
- Hits        10511    10329     -182     
- Misses      10877    11139     +262     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread lumen/ai/report.py Outdated
@ahuang11
ahuang11 changed the base branch from main to api_refactor October 29, 2025 22:05
@ahuang11
ahuang11 changed the base branch from api_refactor to main October 29, 2025 22:05
Comment thread lumen/ai/report.py Outdated
Comment thread lumen/ai/report.py
@ahuang11
ahuang11 requested a review from philippjfr October 31, 2025 17:37
@ahuang11
ahuang11 marked this pull request as draft December 9, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants