Skip to content
Snippets Groups Projects
Verified Commit f6ffddb9 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

deposit.cli.client: Update docstrings

parent 41fb9949
No related branches found
No related tags found
1 merge request!27Update docs (getting-started, metadata) with latest changes
......@@ -134,19 +134,22 @@ def client_command_parse_input(
By acceptable, we mean:
- A multipart deposit (create or update) needs both an
existing software archive and an existing metadata file
- A multipart deposit (create or update) requires:
- A binary deposit (create/update) needs an existing
software archive
- an existing software archive
- an existing metadata file or author(s) and name provided in
params
- A metadata deposit (create/update) needs an existing
metadata file
- A binary deposit (create/update) requires an existing software
archive
- A deposit update needs a deposit_id to be provided
- A metadata deposit (create/update) requires an existing metadata
file or author(s) and name provided in params
This won't prevent all failure cases though. The remaining
errors are already dealt with the underlying api client.
- A deposit update requires a deposit_id
This will not prevent all failure cases though. The remaining
errors are already dealt with by the underlying api client.
Raises:
InputError explaining the issue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment