Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/vdo/utils/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 x?ag�! � @ sd d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlZejd� G dd � d ej �Z dS ) z| YAMLObject - Provides mapping to/from YAML. $Id: //eng/vdo-releases/aluminum/src/python/vdo/utils/YAMLObject.py#2 $ � )�absolute_import)�division)�print_function)�unicode_literalsNZutilsc s� e Zd ZdZejZedd� �Zedd� �Z � fdd�Z edd � �Zed d� �Z edd � �Zdd� Zedd� �Zdd� Zedd� �Zedd� �Z� ZS )� YAMLObjecta� Provides conversion of objects to and from YAML representations. The attributes that are included in the YAML representation are taken from an instance's __dict__ filtered through the list returned from the _yamlAttributeKeys property. The list from the _yamlAttributeKeys property is used to check for missing attributes when generating the YAML representation. It is also used to check for missing or extraneous attributes when constructing an instance from the YAML representation. Subclasses must override _yamlAttributeKeys. Subclasses must specify the class attribute yaml_tag which indicates the type of the instance in the YAML representation. Class attributes: yaml_tag (unicode string) - YAML representation identfifier; must be specified by subclasses yaml_loader - The loader to use; set to yaml.SafeLoader to allow yaml.load_safe() to instantiate objects c c s&