From 477cbd4091edf1fd5f500127de2d16d88dcc0eaa Mon Sep 17 00:00:00 2001 From: Maximilian Schulz <maximilian.schulz@hs-hannover.de> Date: Thu, 3 Apr 2014 14:23:25 +0200 Subject: [PATCH] [FIX] Param type notation for transformer fixed Param type is actually the container name (string) instead of an instance --- hshetl/transformers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hshetl/transformers.py b/hshetl/transformers.py index ca75a7d..c7bd578 100644 --- a/hshetl/transformers.py +++ b/hshetl/transformers.py @@ -89,8 +89,8 @@ class CompareTransformer(AbstractTransformer): :param target: The target container. :param mapping: If you do not want the result properties to be mapped like in target system, provide a mapping here. :param **kwargs: Accepts parameters from :class:`.AbstractTransformer`. - :type source: :class:`hshetl.entities.Container` or None - :type target: :class:`hshetl.entities.Container` or None + :type source: string or None + :type target: string or None :type mapping: dict or None YAML definition sample: @@ -220,7 +220,7 @@ class PropertiesTransformer(AbstractTransformer): :param source: The source container. :param operations: The operations that will be performed. The key is the property that should be transformed and the value a method call. :param **kwargs: Accepts parameters from :class:`.AbstractTransformer`. - :type source: :class:`hshetl.entities.Container` or None + :type source: string or None :type operations: dict All property values of the entity are available in the local scope of your method call. -- GitLab