Skip to content

Commit ba0b403

Browse files
hangtime79claude
andcommitted
fix(v0.10.1): Use preset.config property instead of get_config() (#79)
DSSPluginPreset has `config` as a property, not a method. In webapps (unlike recipes), PRESET params come as raw references that must be manually resolved via the Dataiku API. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5f14f30 commit ba0b403

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webapps/gantt-chart/backend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def resolve_preset(preset_ref, parameter_set_id):
7575
# Get the specific preset by name
7676
preset = parameter_set.get_preset(preset_name)
7777
if preset:
78-
preset_values = preset.get_config()
78+
# Note: config is a property, not a method
79+
preset_values = preset.config
7980
logger.info(f"[#79] Resolved PRESET '{preset_name}': {list(preset_values.keys())}")
8081
return preset_values
8182

0 commit comments

Comments
 (0)