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

Improve create_template functionality #85

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

svilupp
Copy link
Owner

@svilupp svilupp commented Feb 29, 2024

  • Added convenience function create_template to create templates on the fly without having to deal with PT.UserMessage etc. If you specify the keyword argument load_as = "MyName", the template will be immediately loaded to the template registry. See ?create_template for more information and examples.

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

Attention: Patch coverage is 93.93939% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 92.43%. Comparing base (4153518) to head (7a04fa4).

Files Patch % Lines
src/templates.jl 93.93% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   92.43%   92.43%   -0.01%     
==========================================
  Files          38       38              
  Lines        2182     2195      +13     
==========================================
+ Hits         2017     2029      +12     
- Misses        165      166       +1     

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

@svilupp svilupp merged commit 19cf980 into main Feb 29, 2024
5 checks passed
@svilupp svilupp deleted the register-templates-automatically branch February 29, 2024 09:24
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.

None yet

1 participant