Skip to content

Commit 3190751

Browse files
committed
Fixing Documenter failing on pipeline
1 parent 8886aa8 commit 3190751

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ makedocs(;
1717
"Home" => "index.md",
1818
"Tutorial" => "tutorial.md",
1919
"Reference" => "reference.md"
20-
]
20+
],
21+
checkdocs=:exports
2122
)
2223

2324
deploydocs(;

docs/src/reference.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ MLFlowExperiment
1414
MLFlowRun
1515
MLFlowRunInfo
1616
MLFlowRunData
17+
MLFlowRunDataParam
1718
MLFlowRunDataMetric
1819
MLFlowRunStatus
1920
MLFlowArtifactFileInfo
@@ -28,7 +29,7 @@ getexperiment
2829
getorcreateexperiment
2930
deleteexperiment
3031
searchexperiments
31-
listexperiments
32+
restoreexperiment
3233
```
3334

3435
# Runs
@@ -55,5 +56,5 @@ uri
5556
generatefilterfromentity_type
5657
generatefilterfromparams
5758
generatefilterfromattributes
58-
59+
healthcheck
5960
```

src/types/run.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ Represents a parameter.
127127
- `MLFlowRunDataParam(d::Dict{String,String})`
128128
129129
"""
130-
131130
struct MLFlowRunDataParam
132131
key::String
133132
value::String

src/utils.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,18 @@ function generatefilterfromentity_type(filter_params::AbstractDict{K,V}, entity_
6666
filters = ["$(entity_type).\"$(k)\" = \"$(v)\"" for (k, v) filter_params]
6767
join(filters, " and ")
6868
end
69+
70+
"""
71+
generatefilterfromparams(filter_params::AbstractDict{K,V}) where {K,V}
72+
73+
Generates a `filter` string from `filter_params` dictionary and `param` entity type.
74+
"""
6975
generatefilterfromparams(filter_params::AbstractDict{K,V}) where {K,V} = generatefilterfromentity_type(filter_params, "param")
76+
"""
77+
generatefilterfrommattributes(filter_attributes::AbstractDict{K,V}) where {K,V}
78+
79+
Generates a `filter` string from `filter_attributes` dictionary and `attribute` entity type.
80+
"""
7081
generatefilterfromattributes(filter_attributes::AbstractDict{K,V}) where {K,V} = generatefilterfromentity_type(filter_attributes, "attribute")
7182

7283
const MLFLOW_ERROR_CODES = (;

0 commit comments

Comments
 (0)