Skip to content

Commit

Permalink
Fixed PR reviews, updated transformation typing and error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
punith300i committed Nov 17, 2023
1 parent 10e3a4c commit 8710a08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_transformation_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from flask.testing import FlaskClient
from sand.controllers.transformation import compile_function


def test_api_transformation_map_single_line(client: FlaskClient, example_db):
Expand Down Expand Up @@ -664,8 +665,6 @@ def error_func():
return value+1
""".strip()

from sand.controllers.transformation import compile_function

captured_error = None
try:
transformation_func = compile_function(code)
Expand Down

0 comments on commit 8710a08

Please sign in to comment.