I have now renamed this method to generate_file_from_template()
https://github.com/wso2/product-private-paas/commit/a5fea37ecb3a4d1fa1c1dddd37757e71d318a111

On Sun, Jun 21, 2015 at 12:43 AM, Imesh Gunaratne <[email protected]> wrote:

> Hi Anuruddha,
>
> IMO the following method name is not appropriate, why do we call it
> create_output_xml? A template module could have none xml files.
>
> def create_output_xml(template_path, output_path, context):
>     """
>     This method write the output generated from jinja file to xml file
>
>     :param template_path: Path to the template file
>     :param output_path: Path to the output xml file
>     :param context: Dictionary containing values to be used by jinja engine
>     :return: None
>     """
>
> Thanks
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to