Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.11/site-packages/ansible/parsing/yaml/__pycache__/ |
Upload File : |
� ���cA) � � � d dl mZmZmZ eZd dlZd dlZd dl m Z d dlZd dlZd dlm Z d dlmZmZmZ G d� de� � Z G d� d ee� � Z G d � dee � � Z G d� d ee� � Z G d� de e� � ZdS )� )�absolute_import�division�print_functionN)�Sequence)� text_type)�to_bytes�to_text� to_nativec �B � e Zd ZdZdZdZdZd� Zd� Z e ee� � Z dS )�AnsibleBaseYAMLObjectz� the base class used to sub-class python built-in objects so that we can add attributes to them during yaml parsing Nr c �* � | j | j | j fS �N)�_data_source�_line_number�_column_number��selfs �A/usr/lib/python3.11/site-packages/ansible/parsing/yaml/objects.py�_get_ansible_positionz+AnsibleBaseYAMLObject._get_ansible_position, s � ��!�4�#4�d�6I�J�J� c � � |\ }}}n$# t t f$ r t d� � �w xY w|| _ || _ || _ d S )Nzaansible_pos can only be set with a tuple/list of three values: source, line number, column number)� TypeError� ValueError�AssertionErrorr r r )r �obj�src�line�cols r �_set_ansible_positionz+AnsibleBaseYAMLObject._set_ansible_position/ sm � � �"��S�$�����:�&� � � � �F�� � � ���� ��� ���!����s � �!*)�__name__� __module__�__qualname__�__doc__r r r r r �property�ansible_pos� r r r r "