summaryrefslogtreecommitdiff
path: root/continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-06-16 00:20:24 -0700
committerTy Dunn <ty@tydunn.com>2023-06-16 00:20:24 -0700
commit3433d5ea1f3318c0f9cdb7677832e33d820fcca9 (patch)
treed9fc8e1d56ef88b30904d3ddcbdf1264fb981b7e /continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py
parentc42b20fe543cd7550a42c25c3eb834a209abbade (diff)
downloadsncontinue-3433d5ea1f3318c0f9cdb7677832e33d820fcca9.tar.gz
sncontinue-3433d5ea1f3318c0f9cdb7677832e33d820fcca9.tar.bz2
sncontinue-3433d5ea1f3318c0f9cdb7677832e33d820fcca9.zip
fixing problems with dlt create recipe
Diffstat (limited to 'continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py')
-rw-r--r--continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py4
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 3fba1112..1a756a76 100644
--- a/continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py
+++ b/continuedev/src/continuedev/recipes/CreatePipelineRecipe/steps.py
@@ -49,7 +49,7 @@ class SetupPipelineStep(Step):
- `pip install -r requirements.txt`: Install the Python dependencies for the pipeline"""), name="Setup Python environment")
# editing the resource function to call the requested API
- resource_function_range = Range.from_shorthand(15, 0, 29, 0)
+ resource_function_range = Range.from_shorthand(15, 0, 30, 0)
await sdk.ide.highlightCode(RangeInFile(filepath=os.path.join(await sdk.ide.getWorkspaceDirectory(), filename), range=resource_function_range), "#ffa50033")
# sdk.set_loading_message("Writing code to call the API...")
@@ -64,7 +64,7 @@ class SetupPipelineStep(Step):
# wait for user to put API key in secrets.toml
await sdk.ide.setFileOpen(await sdk.ide.getWorkspaceDirectory() + "/.dlt/secrets.toml")
- await sdk.wait_for_user_confirmation("If this service requires an API key, please add it to the `secrets.toml` file and then press `Continue`")
+ await sdk.wait_for_user_confirmation("If this service requires an API key, please add it to the `secrets.toml` file and then press `Continue`. Otherwise, type '/edit this API does not require an API key'")
sdk.context.set("source_name", source_name)