Skip to content

Commit e9af669

Browse files
RomeoVclaude
andcommitted
Fix createexperiment API syntax in tutorial and examples
Fixes incorrect keyword argument usage for the 'name' parameter. The createexperiment function requires 'name' as a positional argument, not a keyword argument. Before: createexperiment(mlf; name="price-paths") After: createexperiment(mlf, "price-paths") Fixes #62 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent b5bad10 commit e9af669

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ p = plot()
7272
mlf = MLFlow("http://localhost:5000/api")
7373

7474
# Initiate new experiment
75-
experiment_id = createexperiment(mlf; name="price-paths")
75+
experiment_id = createexperiment(mlf, "price-paths")
7676

7777
# Create a run in the new experiment
7878
exprun = createrun(mlf, experiment_id)

examples/simple-with-mlflow.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ p = plot()
2121
mlf = MLFlow("http://localhost:5000/api")
2222

2323
# Initiate new experiment
24-
experiment_id = createexperiment(mlf; name="price-paths")
24+
experiment_id = createexperiment(mlf, "price-paths")
2525

2626
# Create a run in the new experiment
2727
exprun = createrun(mlf, experiment_id)

0 commit comments

Comments
 (0)