Skip to content

Commit

Permalink
Merge pull request #205 from cloudblue/fix_transformations_app_template
Browse files Browse the repository at this point in the history
Fix transformations app template using new response class
  • Loading branch information
ffaraone authored Apr 18, 2023
2 parents 974a24d + 56baeb5 commit 70e7833
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#
from connect.eaas.core.decorators import manual_transformation, transformation{% if include_variables_example == 'y' -%}, variables{% endif %}
from connect.eaas.core.extension import TransformationsApplicationBase
from connect.eaas.core.responses import RowTransformationResponse


{% if include_variables_example == 'y' -%}
Expand Down Expand Up @@ -45,5 +46,5 @@ class {{ project_slug|replace("_", " ")|title|replace(" ", "") }}Transformations
for setting in tfn_settings:
result[setting['to']] = row[setting['from']]

return result
return RowTransformationResponse.done(result)

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ readme = "./README.md"

[tool.poetry.dependencies]
python = ">=3.8,<4"
connect-eaas-core = ">=27.11,<28"
connect-eaas-core = ">=27.14,<28"
[tool.poetry.dev-dependencies]
pytest = ">=6.1.2,<8"
Expand Down

0 comments on commit 70e7833

Please sign in to comment.