관리-도구
편집 파일: jsonpatch.cpython-39.pyc
a d�GZ�_ � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl mZmZ dZ dZzddlmZmZ W n& ey� ddlmZmZ eZY n0 dZdZd Zd Ze jdkr�eefZG dd � d e�ZG dd� de�ZG dd� de�ZG dd� dee �Z!dd� Z"ej#ej$e"d�Z%d0dd�Z&dd� Z'G dd� de(�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*�Z/G d*d+� d+e*�Z0G d,d-� d-e(�Z1d.d/� Z2dS )1z Apply JSON-Patches (RFC 6902) � )�unicode_literalsN)�JsonPointer�JsonPointerException� )�MutableMapping�MutableSequenceu Stefan Kögl <stefan@skoegl.net>z1.21z0https://github.com/stefankoegl/python-json-patchzModified BSD License)� r c @ s e Zd ZdZdS )�JsonPatchExceptionzBase Json Patch exceptionN��__name__� __module__�__qualname__�__doc__� r r �-/usr/lib/python3.9/site-packages/jsonpatch.pyr G s r c @ s e Zd ZdZdS )�InvalidJsonPatchz, Raised if an invalid JSON Patch is created Nr r r r r r K 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 then it already exists; - attempt to operate with nonexistence object key; - attempt to insert value to array at position beyond of it size; - etc. Nr r r r r r O s r c @ s e Zd ZdZdS )�JsonPatchTestFailedz A Test operation failed Nr r r r r r X s r c C s<