neptune_fetch_files_list {neptune} | R Documentation |
Fetches a list of artifact files from the Neptune servers.
Description
Fetches a list of artifact files from the Neptune servers.
Usage
neptune_fetch_files_list(x)
Arguments
x |
Field |
Value
List of ArtifactFileData objects for all the files referenced in the artifacts. ArtifactFileDatahas the following fields that you can use: file_hash: str, Hash of the file file_path: str, URL of the file in the Neptune UI size: int, Size of the file in KB metadata: dict, dictionary with the following keys: file_path: a location (path) of the file either on local storage or S3-compatible storage last_modified: when was the last the artifact content was changed
Author(s)
Authors:
Mateusz Dominiak
Maintainer: Neptune DevTeam Devbackend@neptune.ai
See Also
Useful links:
Documentation https://docs.neptune.ai/
Report bugs at https://github.com/neptune-ai/neptune-r/issues
Examples
## Not run:
run <- neptune_init(project='<YOUR_WORKSPACE/YOUR_PROJECT>',
api_token='<YOUR_API_TOKEN>',
run='AR-2', # Neptune Run ID of a run with artifact
mode='read-only')
artifact_list <- neptune_fetch_files_list(run['artifacts/images'])
artifact_list[[1]]$file_hash
artifact_list[[1]]$file_path
artifact_list[[1]]$metadata['last_modified']
## End(Not run)
[Package neptune version 0.2.3 Index]