← Back
Editing: _common.cpython-312.pyc
� B�:f=K � � � d dl Z d dlZd dlZd dlZd dlZd dlZ d dlmZ d dl Z d dlmZm Z d dlmZ d dlZd dlZd dlZd dlZd dlZdLd�Zd� Z G d� d e� Zd ZdZi dd�d d�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d �d$d �d%d&d%d%d'd(d'd'd)��Zg d*�ZdMd+�Zd,� Zd-� Z dNd.�Z!d/� Z"d0� Z#d1� Z$d2� Z%d3� Z&d4� Z'd5� Z( G d6� d7e)� Z* ed8d9�:� ed;d<�:� ed=d>�:� G d?� d@e)� � � � Z+dNdA�Z,dB� Z- G dC� dDe� Z. G dE� dFe� Z/dG� Z0dH� Z1 G dI� dJejd � Z3e4dKk( r ejj � yy# e$ r d dl mZ Y ��?w xY w# e$ r d dlmZm Z d dlmZ Y ��Fw xY w)O� N)�Sequence)�URLError� HTTPError)�urlparseTc �Z � ��� d� z ��fd�}�fd�}t ||r|ndd|� �� �fd�}|S )z� Creates the get/set properties for the given name. It assumes that the actual attribute is '_' + name TODO: Expand this with domain validation to ensure the values are correct. �_c � �� t | �� S �N)�getattr)�self�attribute_names ��2/usr/lib64/python3.12/site-packages/lsm/_common.py�getterz default_property.<locals>.getter. s �� ��t�^�,�,� c � �� t | �|� y r ��setattr)r �valuer s �r �setterz default_property.<locals>.setter1 s �� ���n�e�,r Nc �"