관리-도구
편집 파일: vars.cpython-39.pyc
a �)g| � @ sf d dl mZmZmZ eZd dlmZ d dlm Z d dl mZmZ d dl mZ dgZG dd� de�ZdS ) � )�absolute_import�division�print_function)�Mapping)�missing)�AnsibleError�AnsibleUndefinedVariable)� to_native� AnsibleJ2Varsc @ sB e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dS )r a� Helper class to template all variable content before jinja2 sees it. This is done by hijacking the variable storage that jinja2 uses, and overriding __contains__ and __getitem__ to look like a dict. Added bonus is avoiding duplicating the large hashes that inject tends to be. To facilitate using builtin jinja2 things like range, globals are also handled here. Nc C sr || _ || _t� | _t|t�rn|�� D ]F\}}|tur&|dd� dkrZ|| j|dd� <