Skip to content

Commit

Permalink
improve docstring for load_from_external()
Browse files Browse the repository at this point in the history
  • Loading branch information
SoloSynth1 committed Jun 21, 2024
1 parent b9f7acf commit da270b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fixml/modules/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ def load_from_external(cls, ext_template_path: Union[str, Path],
validate_template : str, optional
If provided, the external template source will be compared with the
referred internal template to confirm all variables are present.
Returns
-------
jinja2.Template
Source file loaded as a Jinja2 Template.
"""
with open(ext_template_path, "r") as f:
source = f.read()
Expand Down

0 comments on commit da270b8

Please sign in to comment.