Skip to content

Refactor and enhance template merging functionality#39

Merged
coordt merged 3 commits intomasterfrom
minor-fixes
Mar 29, 2026
Merged

Refactor and enhance template merging functionality#39
coordt merged 3 commits intomasterfrom
minor-fixes

Conversation

@coordt
Copy link
Copy Markdown
Member

@coordt coordt commented Mar 29, 2026

Summary

This pull request refactors and improves the template merging process. Key changes include:

  • Improved dictionary sorting to enhance readability and performance.
  • Addition of nested-overwrite to the list of valid merge methods in composition.py.
  • Replacing the usage of reduce with copy.deepcopy in merge_into for better clarity and efficiency.

Changes Made

  • Refactored sorting logic in template dictionaries to improve maintainability and performance.
  • Updated merging functionality by introducing support for the nested-overwrite merge method.
  • Simplified merging logic by replacing reduce with copy.deepcopy.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 29, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-03-29 11:43 UTC

@github-actions
Copy link
Copy Markdown
Contributor

Version hint: minor
Current version: 0.7.0
New version (when merged): 0.8.0

Comment ID: Display version hint-auto-generated

@coordt coordt merged commit 912babc into master Mar 29, 2026
5 checks passed
@coordt coordt deleted the minor-fixes branch March 29, 2026 11:42
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.

1 participant