Skip to content

Commit fe996ef

Browse files
fix(seeder): use cast_dict for seed.variables to ensure non-None dict
Agent-Logs-Url: https://github.com/ds-wizard/engine-tools/sessions/42b27cab-0c05-490d-b21a-674a802556c3 Co-authored-by: MarekSuchanek <9638527+MarekSuchanek@users.noreply.github.com>
1 parent 819097c commit fe996ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/dsw-data-seeder/dsw/data_seeder

packages/dsw-data-seeder/dsw/data_seeder/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
ConfigKey,
66
ConfigKeys,
77
ConfigKeysContainer,
8+
cast_dict,
89
cast_int,
9-
cast_optional_dict,
1010
cast_optional_int,
1111
cast_str,
1212
)
@@ -32,7 +32,7 @@ class _SeedKeys(ConfigKeysContainer):
3232
yaml_path=['seed', 'variables'],
3333
var_names=[],
3434
default=None,
35-
cast=cast_optional_dict,
35+
cast=cast_dict,
3636
)
3737

3838

0 commit comments

Comments
 (0)