From 793d6eef3dec58084b474b87aac5fb7f4a8200b3 Mon Sep 17 00:00:00 2001 From: Fritz Larco Date: Thu, 21 Sep 2023 18:15:50 -0300 Subject: [PATCH] add transforms --- sling/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sling/__init__.py b/sling/__init__.py index c9db0ac..d13b90a 100644 --- a/sling/__init__.py +++ b/sling/__init__.py @@ -32,6 +32,7 @@ class SourceOptions: jmespath: str sheet: str range: str + transforms: list columns: dict def __init__(self, **kwargs) -> None: @@ -49,6 +50,7 @@ def __init__(self, **kwargs) -> None: self.jmespath = kwargs.get('jmespath') self.sheet = kwargs.get('sheet') self.range = kwargs.get('range') + self.transforms = kwargs.get('transforms') self.columns = kwargs.get('columns') class Source: