Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1930343

Browse files
committed
docs: Fix RST reference
1 parent ef401d6 commit 1930343

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ocdskit/normalize.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,15 @@ def normalize_schema(schema, normalizer, get_base_classes):
370370
Hashes each ``properties`` member using ``normalizer``, calls ``get_base_classes``, then performs greedy set-cover
371371
to determine multiple inheritance for both base classes and original definitions.
372372
373-
All ``properties`` mappings must be at definitions' top-level. See :ref:`~ocdskit.normalize.hoist_deep_properties`.
374-
375373
.. warning::
376374
377375
Modifies ``schema`` in-place.
378376
377+
.. admonition:: Limitations
378+
379+
All ``properties`` mappings must be at each definition's top-level.
380+
See :func:`~ocdskit.normalize.hoist_deep_properties`.
381+
379382
:param dict schema: a JSON schema
380383
:param normalizer: a function that accepts a JSON Schema and returns a JSON Schema,
381384
with all structurally-irrelevant properties removed

0 commit comments

Comments
 (0)