Repository URL to install this package:
|
Version:
0.1.31-1 ▾
|
odigos-demo-inventory
/
opt
/
odigos-demo-inventory
/
site-packages
/
fastjsonschema
/
__pycache__
/
exceptions.cpython-311.pyc
|
|---|
§
hµµhL ã ó d dl Z e j d¦ « Z G d de¦ « Z G d de¦ « Z G d de¦ « ZdS ) é Nz [\.\[\]]+c ó e Zd ZdZdS )ÚJsonSchemaExceptionz7
Base exception of ``fastjsonschema`` library.
N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó úD/usr/local/lib/python3.11/site-packages/fastjsonschema/exceptions.pyr r ó ðð ð ð r r c óP e Zd ZdZd fd Zed ¦ « Zed ¦ « Z xZS )ÚJsonSchemaValueExceptionaÏ
Exception raised by validation function. Available properties:
* ``message`` containing human-readable information what is wrong (e.g. ``data.property[index] must be smaller than or equal to 42``),
* invalid ``value`` (e.g. ``60``),
* ``name`` of a path in the data structure (e.g. ``data.property[index]``),
* ``path`` as an array in the data structure (e.g. ``['data', 'property', 'index']``),
* the whole ``definition`` which the ``value`` has to fulfil (e.g. ``{'type': 'number', 'maximum': 42}``),
* ``rule`` which the ``value`` is breaking (e.g. ``maximum``)
* and ``rule_definition`` (e.g. ``42``).
.. versionchanged:: 2.14.0
Added all extra properties.
Nc ó t ¦ « |¦ « || _ || _ || _ || _ || _ d S ©N)ÚsuperÚ__init__ÚmessageÚvalueÚnameÚ
definitionÚrule)Úselfr r r r r Ú __class__s r r z!JsonSchemaValueException.__init__ sB ø Ý
×ÒÑ!Ô!Ð!ØØ
Ø Ø$Ø r c óT d t | j ¦ « D ¦ « S )Nc ó g | ]
}|d k ¯|S )Ú r
)Ú.0Úitems r ú
<listcomp>z1JsonSchemaValueException.path.<locals>.<listcomp>' s ÐIÐIÐI¸dÀbºj¸j¸j¸j¸jr )ÚSPLIT_REÚsplitr ©r s r ÚpathzJsonSchemaValueException.path% s$ àIÐI¥§¢°´ Ñ!:Ô!:ÐIÑIÔIÐIr c ó` | j r| j sd S | j | j ¦ « S r )r r Úgetr# s r Úrule_definitionz(JsonSchemaValueException.rule_definition) s2 àyð ¤ð Ø4Ø×"Ò" 4¤9Ñ-Ô-Ð-r )NNNN) r r r r r Úpropertyr$ r' Ú
__classcell__)r s @r r r
s ø ð
ð
ðð ð ð ð ð ð ðJð Jñ XðJð ð.ð .ñ Xð.ð .ð .ð .ð .r r c ó e Zd ZdZdS )ÚJsonSchemaDefinitionExceptionz?
Exception raised by generator of validation function.
Nr r
r r r+ r+ 0 r
r r+ )ÚreÚcompiler! Ú
ValueErrorr r r+ r
r r ú<module>r/ s¬ ðØ ð 2:lÑ#Ô#ðð ð ð ð *ñ ô ð ð .ð .ð .ð .ð .Ð2ñ .ô .ð .ðFð ð ð ð Ð$7ñ ô ð ð ð r