diff --git a/src/caoscrawler/converters.py b/src/caoscrawler/converters.py index 98c2a7362f38d8a96ab1b35cb0b02518173d9982..eb07cf91eca439f427163c1a59ed0d60b6858984 100644 --- a/src/caoscrawler/converters.py +++ b/src/caoscrawler/converters.py @@ -389,8 +389,8 @@ class Converter(object, metaclass=ABCMeta): Extract information from the structure element and store them as values in the general store. - Parameters: - ------------ + Parameters + ---------- values: GeneralStore The GeneralStore to store values in. @@ -409,8 +409,8 @@ class Converter(object, metaclass=ABCMeta): Check if transformers are defined using the "transform" keyword. Then apply the transformers to the variables defined in GeneralStore "values". - Parameters: - ------------ + Parameters + ---------- values: GeneralStore The GeneralStore to store values in. diff --git a/src/doc/converters.rst b/src/doc/converters.rst index b621ca58c7b95456d8d1ec19e2fd20e5c777137f..9b28c9a61eec4d9707b9640720b9c6a44a8fe25e 100644 --- a/src/doc/converters.rst +++ b/src/doc/converters.rst @@ -58,8 +58,9 @@ to generate records (see :py:meth:`~caoscrawler.converters.Converter.create_reco **records** is a dict of definitions that define the semantic structure (see details below). -**subtree** makes the yaml recursive: It contains a list of new Converter definitions, which work on - the StructureElements that are returned by the current Converter. +**subtree** makes the yaml recursive: It contains a list of new Converter +definitions, which work on the StructureElements that are returned by the +current Converter. Transform Functions +++++++++++++++++++