You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stores an artifact (file) in the run's artifact location.
256
+
257
+
!!! note
258
+
Assumes that artifact_uri is mapped to a local directory.
259
+
At the moment, this only works if both MLFlow and the client are running on the same host or they map a directory that leads to the same location over NFS, for example.
260
+
261
+
# Arguments
262
+
- `mlf::MLFlow`: [`MLFlow`](@ref) onfiguration. Currently not used, but when this method is extended to support `S3`, information from `mlf` will be needed.
263
+
- `run`: one of [`MLFlowRun`](@ref), [`MLFlowRunInfo`](@ref) or `String`.
264
+
- `basefilename`: name of the file to be written.
265
+
- `data`: artifact content, an object that can be written directly to a file handle.
266
+
267
+
# Throws
268
+
- an `ErrorException` if an exception occurs during writing artifact.
Lists the artifacts associated with an experiment run.
329
+
According to [MLFlow documentation](https://mlflow.org/docs/latest/rest-api.html#list-artifacts), this API endpoint should return paged results, similar to [`searchruns`](@ref).
330
+
However, after some experimentation, this doesn't seem to be the case. Therefore, the paging functionality is not implemented here.
331
+
332
+
# Arguments
333
+
- `mlf::MLFlow`: [`MLFlow`](@ref) onfiguration. Currently not used, but when this method is extended to support `S3`, information from `mlf` will be needed.
334
+
- `run`: one of [`MLFlowRun`](@ref), [`MLFlowRunInfo`](@ref) or `String`.
335
+
336
+
# Keywords
337
+
- `path::String`: path of a directory within the artifact location. If set, returns the contents of the directory. By default, this is the root directory of the artifacts.
338
+
- `maxdepth::Int64`: depth of listing. Default is 1. This will only return the files/directories in the current `path`. To return all artifacts files and directories, use `maxdepth=-1`.
339
+
340
+
# Returns
341
+
A vector of `Union{MLFlowArtifactFileInfo,MLFlowArtifactDirInfo}`.
0 commit comments