Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
exceptions.cpython-313.pyc68 linesDownload Raw Back to __pycache__
1�

2��jP��r�SrSSKJr SSKJrJr SSKrSSKJr \(aSSK	J3r4 SSKJr \"SS	\
55r\"S5S\55r\"SS
\
55r\"SS\55r\R"SS\55r\"SS\55r\"SS\55r\"SS\55rg)z6Errors, oh no!7�)�annotations)�
TYPE_CHECKING�AnyN)�frozen)�Resource)�URIc�8�\rSrSr%SrS\S'S	SjrS8SjrSrg)�NoSuchResource�z�9The given URI is not present in a registry.10 11Unlike most exceptions, this class *is* intended to be publicly12instantiable and *is* part of the public API of the package.13r�refc��URURLa[$[R"U5[R"U5:H$�N��	__class__�NotImplemented�attrs�astuple��self�others  �\D:\code\apps\devtools\python\user_packages\Python313\site-packages\referencing/exceptions.py�__eq__�NoSuchResource.__eq__�5���>�>����0�!�!��}�}�T�"�e�m�m�E�&:�:�:�c�@�[[R"U55$r��hashrr�rs r�__hash__�NoSuchResource.__hash__"����E�M�M�$�'�(�(r�N�r�object�return�bool�r&�int�	�__name__�14__module__�__qualname__�__firstlineno__�__doc__�__annotations__rr �__static_attributes__r#rrr15r16s���17
�H�;�18)rr19c�8�\rSrSr%SrS\S'S	SjrS20SjrSrg)�NoInternalID�&a2122A resource has no internal ID, but one is needed.23 24E.g. in modern JSON Schema drafts, this is the :kw:`$id` keyword.25 26One might be needed if a resource was to-be added to a registry but no27other URI is available, and the resource doesn't declare its canonical URI.28�
Resource[Any]�resourcec��URURLa[$[R"U5[R"U5:H$rrrs  rr�NoInternalID.__eq__3rrc�@�[[R"U55$rrrs rr �NoInternalID.__hash__8r"rr#Nr$r(r*r#rrr3r3&s�����;�29)rr3c�8�\rSrSr%SrS\S'S	SjrS30SjrSrg)�
Unretrievable�<zG31The given URI is not present in a registry, and retrieving it failed.32rrc��URURLa[$[R"U5[R"U5:H$rrrs  rr�Unretrievable.__eq__Drrc�@�[[R"U55$rrrs rr �Unretrievable.__hash__Ir"rr#Nr$r(r*r#rrr<r<<����33
�H�;�34)rr<c�8�\rSrSr%SrS\S'S	SjrS35SjrSrg)�CannotDetermineSpecification�Mz�36Attempting to detect the appropriate `Specification` failed.37 38This happens if no discernible information is found in the contents of the39new resource which would help identify it.40r�contentsc��URURLa[$[R"U5[R"U5:H$rrrs  rr�#CannotDetermineSpecification.__eq__Xrrc�@�[[R"U55$rrrs rr �%CannotDetermineSpecification.__hash__]r"rr#Nr$r(r*r#rrrDrDMs����M�;�41)rrDc�8�\rSrSr%SrS\S'S	SjrS42SjrSrg)�Unresolvable�az43A reference was unresolvable.44rrc��URURLa[$[R"U5[R"U5:H$rrrs  rr�Unresolvable.__eq__irrc�@�[[R"U55$rrrs rr �Unresolvable.__hash__nr"rr#Nr$r(r*r#rrrLrLarBrrLc�.�\rSrSr%SrS\S'SSjrSrg)	�PointerToNowhere�rzC45A JSON Pointer leads to a part of a document that does not exist.46r5r6c�~�UR<SURR<3nURS:XaUS-
nU$)N� does not exist within �/z�. The pointer '/' is a valid JSON Pointer but it points to an empty string property ''. If you intended to point to the entire resource, you should use '#'.)rr6rF)r�msgs  r�__str__�PointerToNowhere.__str__zsC������3�D�M�M�4J�4J�3M�N���8�8�s�?��>�
�C�47�48rr#N�r&�str�r+r,r-r.r/r0rYr1r#rrrSrSrs�����rrSc�8�\rSrSr%SrS\S'S\S'S49SjrSrg	)�NoSuchAnchor�z850An anchor does not exist within a particular resource.51r5r6r\�anchorc�P�UR<SURR<3$)NrV)rar6rFrs rrY�NoSuchAnchor.__str__�s%���{�{�o�4�T�]�]�5K�5K�4N�O�	52rr#Nr[r]r#rrr_r_�s������K�53rr_c�8�\rSrSr%SrS\S'S\S'S54SjrSrg	)�
InvalidAnchor�zi55An anchor which could never exist in a resource was dereferenced.56 57It is somehow syntactically invalid.58r5r6r\rac�<�SURSURS3$)Nz'#zo' is not a valid anchor, neither as a plain name anchor nor as a JSON Pointer. You may have intended to use '#/zD', as the slash is required *before each segment* of a JSON pointer.)rars rrY�InvalidAnchor.__str__�s*������
�����
�&*�
*�	59rr#Nr[r]r#rrrere�s������K�60rre)r/�61__future__r�typingrrr�referencing._attrsr�referencingr�referencing.typingr�KeyErrorr62�	Exceptionr3r<rDrLrSr_rer#rr�<module>rps����#�%��%��$�&��)�X�)��)�&�)�9�)��)�*�
)�H�
)��
)� �)�9�)��)�&���
)�9�
)��
)� ��|����$�63�<�64��65��66�L�67��68r
codekingpro/portable-devtools · Team Ai