This commit is contained in:
Nate Sesti 2023-06-12 22:14:53 -07:00
parent b832660d7f
commit 34f2234e8b
4 changed files with 5 additions and 5 deletions

View file

@ -74,7 +74,7 @@ class DeployAirflowStep(Step):
pipeline_filepath = os.path.join(
directory, f"{self.source_name}_pipeline.py")
dag_filepath = os.path.join(
directory, f"dags/dag_{self.source_name}.py")
directory, f"dags/dag_{self.source_name}_pipeline.py")
# Replace the pipeline name and dataset name
await sdk.run_step(FindAndReplaceStep(filepath=pipeline_filepath, pattern="'pipeline_name'", replacement=f"'{self.source_name}_pipeline'"))
@ -89,6 +89,6 @@ class DeployAirflowStep(Step):
range=edit_dag_range)
# Tell the user to check the schedule and fill in owner, email, other default_args
await sdk.run_step(MessageStep(message="Fill in the owner, email, and other default_args in the DAG file with your own personal information.", name="Fill in default_args"))
await sdk.run_step(MessageStep(message="Fill in the owner, email, and other default_args in the DAG file with your own personal information. Then the DAG will be ready to run!", name="Fill in default_args"))
# Run the DAG locally ??

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.0.35",
"version": "0.0.36",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.0.35",
"version": "0.0.36",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -14,7 +14,7 @@
"displayName": "Continue",
"pricing": "Free",
"description": "Refine code 10x faster",
"version": "0.0.35",
"version": "0.0.36",
"publisher": "Continue",
"engines": {
"vscode": "^1.74.0"