Skip to content

Commit

Permalink
chore: 🔧 add vscode launch config & fix WDI asset nulls
Browse files Browse the repository at this point in the history
Adds debug config for Dagster UI and drops null values from WDI indicator dataset
  • Loading branch information
davidgasquez committed Dec 27, 2024
1 parent 43fc73a commit 1f483b0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Dagster",
"type": "debugpy",
"request": "launch",
"module": "dagster",
"args": [
"dev",
],
"subProcess": true,
"serverReadyAction": {
"pattern": "Serving dagster-webserver",
"uriFormat": "http://127.0.0.1:3000",
"action": "openExternally"
},
}
]
}
2 changes: 2 additions & 0 deletions datadex/indicators/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,6 @@ def world_development_indicators() -> pl.DataFrame:
}
)

df = df.drop_nulls(subset=["indicator_value"])

return df

0 comments on commit 1f483b0

Please sign in to comment.