Skip to content

feat: acess previous blocks' data in block script using prev_blocks#533

Merged
surajshetty3416 merged 4 commits intofrappe:developfrom
stravo1:prev_block_data_access
Mar 29, 2026
Merged

feat: acess previous blocks' data in block script using prev_blocks#533
surajshetty3416 merged 4 commits intofrappe:developfrom
stravo1:prev_block_data_access

Conversation

@stravo1
Copy link
Copy Markdown
Member

@stravo1 stravo1 commented Mar 25, 2026

Now all prev blocks' block data is accessible to their child blocks through the prev_blocks dictionary.

Example:
Screenshot 2026-03-26 at 12 35 36 AM
Screenshot 2026-03-26 at 12 35 43 AM
Screenshot 2026-03-26 at 12 36 08 AM
Screenshot 2026-03-26 at 12 36 17 AM
Screenshot 2026-03-26 at 12 36 32 AM
Screenshot 2026-03-26 at 12 36 40 AM

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 61.53846% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.49%. Comparing base (476dbf1) to head (c18a286).
⚠️ Report is 18 commits behind head on develop.

Files with missing lines Patch % Lines
builder/utils.py 63.63% 4 Missing ⚠️
...ilder/builder/doctype/builder_page/builder_page.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #533      +/-   ##
===========================================
- Coverage    63.52%   63.49%   -0.04%     
===========================================
  Files           27       27              
  Lines         2794     2802       +8     
===========================================
+ Hits          1775     1779       +4     
- Misses        1019     1023       +4     

☔ View full report in Codecov by Sentry.
📢 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.

@surajshetty3416 surajshetty3416 merged commit 620c37e into frappe:develop Mar 29, 2026
7 of 9 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.23.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants