Skip to content

Commit

Permalink
remove base.py (#208)
Browse files Browse the repository at this point in the history
replace by fybrik-python-transformation

Signed-off-by: Doron Chen <[email protected]>
  • Loading branch information
cdoron authored Feb 5, 2023
1 parent 979d2da commit 2b0f422
Show file tree
Hide file tree
Showing 6 changed files with 290 additions and 370 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ faker = "==13.3.0"
fybrik_python_logging = "==0.1.0"
fybrik_python_tls = "==0.1.0"
fybrik_python_vault = "==0.2.0"
fybrik_python_transformation = "==0.1.0"

[requires]
python_version = "3.8"
462 changes: 286 additions & 176 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion afm/pep/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright 2020 IBM Corp.
# SPDX-License-Identifier: Apache-2.0
#
from .base import Action, consolidate_actions, transform, transform_schema, transform_batches
from fybrik_python_transformation import Action, consolidate_actions, transform, transform_schema, transform_batches
from .actions import Redact, RemoveColumns

# registry is a map from action name to Action class
Expand Down
2 changes: 1 addition & 1 deletion afm/pep/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from time import time
from datetime import datetime

from .base import Action, PandasAction
from fybrik_python_transformation import Action, PandasAction

class Filter(PandasAction):
def __init__(self, description, columns, options):
Expand Down
191 changes: 0 additions & 191 deletions afm/pep/base.py

This file was deleted.

2 changes: 1 addition & 1 deletion afm/pep/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#
import unittest
from .base import Action, consolidate_actions, action_key
from fybrik_python_transformation import Action, consolidate_actions, action_key

class ActionOne(Action):
pass
Expand Down

0 comments on commit 2b0f422

Please sign in to comment.