Skip to content
Snippets Groups Projects
Commit 641f8936 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent fda14bef
No related branches found
No related tags found
2 merge requests!1190.2.1,!109Add template_docstring decorator which allow to template Python docstring.
Pipeline #44527 passed
...@@ -4,11 +4,8 @@ from jinja2 import Environment, FileSystemLoader ...@@ -4,11 +4,8 @@ from jinja2 import Environment, FileSystemLoader
def generate_file(file_path: str, template_path: str, **kwargs) -> None: def generate_file(file_path: str, template_path: str, **kwargs) -> None:
"""Generate a file at `file_path` using the jinja template located at `file_path`. """Generate a file at `file_path` using the jinja template located at `file_path`.
<<<<<<< HEAD
kwargs are used to fill the template kwargs are used to fill the template.
=======
kwargs are used
>>>>>>> e5b8f1402253295b15ba2834b523b44a42633b8b
:param file_path: path where to generate the file :param file_path: path where to generate the file
:type file_path: str :type file_path: str
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment