Skip to content

Commit

Permalink
Check for nonetype
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Nov 23, 2023
1 parent 58ee580 commit f8e193e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nwp/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def partitioned_config_func(partition_key: str) -> dict[str, Any]:
date_from=time_window.start.strftime("%Y-%m-%d"),
date_to=time_window.start.strftime("%Y-%m-%d"),
source=dagdef.source,
env_overrides=dagdef.env_overrides,
env_overrides=dagdef.env_overrides or {},
zarr_dir=f"{dagdef.storage_path}/zarr",
raw_dir=f"{dagdef.storage_path}/raw",
)
Expand Down

0 comments on commit f8e193e

Please sign in to comment.