Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/__pycache__/jsonpatch.cpython-39.pyc
Ðазад
a j�hRt � @ s d Z ddlmZ ddlZddlZddlZddlZddlZzddlm Z W n e yf ddlm Z Y n0 zddlmZ W n e y� e ZY n0 ddlmZmZ dZdZzddlmZmZ W n& e y� ddlmZmZ eZY n0 d Zd ZdZdZejd k�reefZG dd� de�ZG dd� de�Z G dd� de�Z!G dd� dee"�Z#dd� Z$ej%ej&e$d�Z'defdd�Z(efdd�Z)G dd� de*�Z+G d d!� d!e+�Z,G d"d#� d#e+�Z-G d$d%� d%e+�Z.G d&d'� d'e+�Z/G d(d)� d)e+�Z0G d*d+� d+e+�Z1G d,d-� d-e*�Z2G d.d/� d/e*�Z3d0d1� Z4dS )2z Apply JSON-Patches (RFC 6902) � )�unicode_literalsN)�Sequence)�MappingProxyType)�JsonPointer�JsonPointerException� )�MutableMapping�MutableSequenceu Stefan Kögl <stefan@skoegl.net>z1.33z0https://github.com/stefankoegl/python-json-patchzModified BSD License)� r c @ s e Zd ZdZdS )�JsonPatchExceptionzBase Json Patch exceptionN��__name__� __module__�__qualname__�__doc__� r r �y/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/jsonpatch.pyr P s r c @ s e Zd ZdZdS )�InvalidJsonPatchz, Raised if an invalid JSON Patch is created Nr r r r r r T s r c @ s e Zd ZdZdS )�JsonPatchConflicta Raised if patch could not be applied due to conflict situation such as: - attempt to add object key when it already exists; - attempt to operate with nonexistence object key; - attempt to insert value to array at position beyond its size; - etc. Nr r r r r r X s r c @ s e Zd ZdZdS )�JsonPatchTestFailedz A Test operation failed Nr r r r r r a s r c C s<