Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
lib
/
python3.10
/
dist-packages
/
ansible
/
template
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: template.cpython-310.pyc
o O�h/ � @ s2 d dl mZ d dlmZ dgZG dd� de�ZdS )� )�annotations)�NativeTemplate�AnsibleJ2Templatec @ s e Zd ZdZddd�ZdS )r a A helper class, which prevents Jinja2 from running AnsibleJ2Vars through dict(). Without this, {% include %} and similar will create new contexts unlike the special one created in Templar.template. This ensures they are all alike, except for potential locals. NFc C s^ |d u rt | jp d�}t|t �r|�� }|d ur|�|� n|�|�}| j�| j|| j| j �S )N� ) �dict�globals� isinstance�copy�update� add_locals�environment� context_class�name�blocks)�self�vars�shared�localsr r �D/usr/local/lib/python3.10/dist-packages/ansible/template/template.py�new_context! s � zAnsibleJ2Template.new_context)NFN)�__name__� __module__�__qualname__�__doc__r r r r r r s N)� __future__r �jinja2.nativetypesr �__all__r r r r r �<module> s
Save
Cancel