GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux SamCT211 4.4.302+ #86009 SMP Wed Nov 26 18:19:20 CST 2025 x86_64
nginx/1.23.1
192.168.4.211
/
volume1
/
@appstore
/
Contacts
/
radicale
/
site-packages
/
vobject
/
__pycache__
[ HOME ]
Exec
Submit
behavior.cpython-38.pyc
U �}�h� � @ s d dl mZ G dd� de�ZdS )� )�basec @ s� e Zd ZdZdZdZdZi ZdZdZ dZ dZdZdZ g Zdd� Zeddd��Zed d � �Zedd� �Zed d� �Zedd� �Zedd� �Zedd� �Zeddd��Zedd� �ZdS )�Behaviora Behavior (validation, encoding, and transformations) for vobjects. Abstract class to describe vobject options, requirements and encodings. Behaviors are used for root components like VCALENDAR, for subcomponents like VEVENT, and for individual lines in components. Behavior subclasses are not meant to be instantiated, all methods should be classmethods. @cvar name: The uppercase name of the object described by the class, or a generic name if the class defines behavior for many objects. @cvar description: A brief excerpt from the RFC explaining the function of the component or line. @cvar versionString: The string associated with the component, for instance, 2.0 if there's a line like VERSION:2.0, an empty string otherwise. @cvar knownChildren: A dictionary with uppercased component/property names as keys and a tuple (min, max, id) as value, where id is the id used by L{registerBehavior}, min and max are the limits on how many of this child must occur. None is used to denote no max or no id. @cvar quotedPrintable: A boolean describing whether the object should be encoded and decoded using quoted printable line folding and character escaping. @cvar defaultBehavior: Behavior to apply to ContentLine children when no behavior is found. @cvar hasNative: A boolean describing whether the object can be transformed into a more Pythonic object. @cvar isComponent: A boolean, True if the object should be a Component. @cvar sortFirst: The lower-case list of children which should come first when sorting. @cvar allowGroup: Whether or not vCard style group prefixes are allowed. � FNc C s d}t �|��d S )Nz4Behavior subclasses are not meant to be instantiated)r �VObjectError)�self�err� r �7/tmp/pip-target-hu2ovxdm/lib/python/vobject/behavior.py�__init__: s zBehavior.__init__c C s@ | j s$|jdk r$d�|�}t�|��t|tj�r>| �|||�S t|tj��r(i }|� � D ]4}|� ||�sn dS |j�� }|� |d�d ||<