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 template method: flatten #551

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Add template method: flatten #551

merged 1 commit into from
Jan 11, 2024

Conversation

frenck
Copy link
Owner

@frenck frenck commented Jan 11, 2024

Description

Add support for flatten. It can flatten nested lists.

Motivation and Context

Because it is nasty hard to do in Jinja

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@frenck frenck added the new-feature New features or options. label Jan 11, 2024
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@frenck frenck mentioned this pull request Jan 11, 2024
17 tasks
@frenck frenck merged commit f496017 into main Jan 11, 2024
@frenck frenck deleted the frenck-2024-0093 branch January 11, 2024 20:09
@SLaks
Copy link

SLaks commented Jan 12, 2024

Thank you so much!

This will make my templates so much simpler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New features or options.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants