Skip to content

Commit

Permalink
add transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Sep 21, 2023
1 parent 8b754c5 commit 793d6ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class SourceOptions:
jmespath: str
sheet: str
range: str
transforms: list
columns: dict

def __init__(self, **kwargs) -> None:
Expand All @@ -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:
Expand Down

0 comments on commit 793d6ee

Please sign in to comment.