diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-09 23:00:46 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-09 23:00:46 -0400 |
commit | 8bc43221b32fda1bffa6157ab335b48d0c605973 (patch) | |
tree | 5e42e41fc35a28c12f295aaee212d1476b0966af /continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py | |
parent | 7db0178fb8de64731de403e3916e6fb303ee64d3 (diff) | |
download | sncontinue-8bc43221b32fda1bffa6157ab335b48d0c605973.tar.gz sncontinue-8bc43221b32fda1bffa6157ab335b48d0c605973.tar.bz2 sncontinue-8bc43221b32fda1bffa6157ab335b48d0c605973.zip |
cleaning up transform pipeline
Diffstat (limited to 'continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py')
-rw-r--r-- | continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py b/continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py index ea40a058..e59cc51c 100644 --- a/continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py +++ b/continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py @@ -86,7 +86,7 @@ class ValidatePipelineStep(Step): # """))) # test that the API call works - output = await sdk.run(f'python3 {filename}', name="Test the pipeline", description=f"Running `python3 {filename}` to test loading data from the API") + output = await sdk.run(f'python3 {filename}', name="Test the pipeline", description=f"Running `python3 {filename}` to test loading data from the API", handle_error=False) # If it fails, return the error if "Traceback" in output or "SyntaxError" in output: @@ -157,7 +157,7 @@ class RunQueryStep(Step): hide: bool = True async def run(self, sdk: ContinueSDK): - output = await sdk.run('env/bin/python3 query.py', name="Run test query", description="Running `env/bin/python3 query.py` to test that the data was loaded into DuckDB as expected") + output = await sdk.run('env/bin/python3 query.py', name="Run test query", description="Running `env/bin/python3 query.py` to test that the data was loaded into DuckDB as expected", handle_error=False) if "Traceback" in output or "SyntaxError" in output: suggestion = sdk.models.gpt35.complete(dedent(f"""\ |