Skip to content

Added option to allow force download when duplicates detected#934

Merged
kzscisoft merged 3 commits intodevfrom
kzscisoft/allow-dupe-overwrite
Mar 23, 2026
Merged

Added option to allow force download when duplicates detected#934
kzscisoft merged 3 commits intodevfrom
kzscisoft/allow-dupe-overwrite

Conversation

@kzscisoft
Copy link
Collaborator

Adds additional parameter for Artifact.from_name for Duplicate Download

By default the Python API will not allow download of duplicate files to prevent overwriting, this MR adds the ability to force download of the first match.

Issue: N/A

Python Version(s) Tested: Python3.14

Operating System(s): Ubuntu 25.10

Documentation PR: N/A

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.
  • Updated the documentation.

@james-panayis
Copy link
Collaborator

One tiny suggestion (plus the github code quality one). Otherwise, looks good!

kzscisoft and others added 2 commits March 23, 2026 12:06
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: James Panayis <james.panayis@ukaea.uk>
@kzscisoft kzscisoft merged commit 6cd648b into dev Mar 23, 2026
11 of 14 checks passed
@kzscisoft kzscisoft deleted the kzscisoft/allow-dupe-overwrite branch March 23, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants