Skip to content

Category parameter has no effect in client.get_artifacts_as_files #687

@wk9874

Description

@wk9874

client.get_artifacts_as_files uses the endpoint https://nightly.simvue.io/api/artifacts to get artifacts for a given run, passing in eg runs=[run_id] and category='output'. But category is not a recognised query parameter for this endpoint. Should probably use the endpoint https://nightly.simvue.io/api/runs/run_id/artifacts?category=output instead.

Test test_get_artifacts_as_files is inadequate as currently written - it checks that the file corresponding to each category is downloaded, but doesnt check that the other files are not downloaded.

Metadata

Metadata

Assignees

Labels

ready for testingThis issue has been fixed and is ready for testing

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions