neptune_fetch_files_list: Fetches a list of artifact files from the Neptune servers.

View source: R/neptune_fetch_files_list.R

neptune_fetch_files_listR 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:

See Also

Useful links:

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)

neptune documentation built on April 13, 2022, 5:14 p.m.