File: api.rst

package info (click to toggle)
referencing 0.36.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 376 kB
  • sloc: python: 2,618; makefile: 13
file content (85 lines) | stat: -rw-r--r-- 1,888 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
API Reference
=============

.. automodule:: referencing
   :members:
   :undoc-members:
   :imported-members:
   :special-members: __iter__, __getitem__, __len__, __rmatmul__


Private Objects
---------------

The following objects are private in the sense that constructing or importing them is not part of the `referencing` public API, as their name indicates (by virtue of beginning with an underscore).

They are however public in the sense that other public API functions may return objects of these types.

Plainly then, you may rely on their methods and attributes not changing in backwards incompatible ways once `referencing` itself is stable, but may not rely on importing or constructing them yourself.

.. autoclass:: referencing._core.Resolved
   :members:
   :undoc-members:


.. autoclass:: referencing._core.Retrieved
   :members:
   :undoc-members:


.. autoclass:: referencing._core.AnchorOrResource


.. autoclass:: referencing._core.Resolver
   :members:
   :undoc-members:


.. autoclass:: referencing._core._MaybeInSubresource
   :members:
   :undoc-members:

.. class:: referencing._core._Unset

   A sentinel object used internally to satisfy the type checker.

   Neither accessing nor explicitly passing this object anywhere is public API, and it is only documented here at all to get Sphinx to not complain.


Submodules
----------

referencing.jsonschema
^^^^^^^^^^^^^^^^^^^^^^

.. automodule:: referencing.jsonschema
   :members:
   :undoc-members:


referencing.exceptions
^^^^^^^^^^^^^^^^^^^^^^

.. automodule:: referencing.exceptions
   :members:
   :show-inheritance:
   :undoc-members:


referencing.retrieval
^^^^^^^^^^^^^^^^^^^^^

.. automodule:: referencing.retrieval
   :members:
   :undoc-members:


.. autoclass:: referencing.retrieval._T


referencing.typing
^^^^^^^^^^^^^^^^^^

.. automodule:: referencing.typing
   :members:
   :undoc-members: