Skip to content
Snippets Groups Projects
Commit 2fdf08b9 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: Typo

parent 991bcec3
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!163F dict heuristic
Pipeline #53979 passed
......@@ -343,11 +343,13 @@ For further customization, the
used as a basis for :ref:`custom converters<Custom Converters>` which
can make use of its ``referenced_record_callback`` argument. The
``referenced_record_callback`` can be a callable object which takes
exactly one Record, the one specified via ``record_from_dict``, as an
argument and needs to return that Record after doing whatever custom
treatment is needed. ``referenced_record_callback`` is applied
**after** the properties from the dictionary have been applied as
explained above.
exactly one Record as an argument and needs to return that Record
after doing whatever custom treatment is needed. It is applied to all
Records that are created from the dictionary and it can be used to,
e.g., transform values of some properties, or add special treatment to
all Records of a specific type. ``referenced_record_callback`` is
applied **after** the properties from the dictionary have been applied
as explained above.
Further converters
++++++++++++++++++
......
......@@ -694,7 +694,7 @@ def test_properties_from_dict_basic(converter_registry):
}
},
name="Test", converter_registry=converter_registry)
# Tests for Dict with skalars, dict with lists, dict with reference,
# Tests for Dict with scalars, dict with lists, dict with reference,
# dict with list of references, dict with reference with reference, named
# reference
values = GeneralStore()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment