Set the default algorithm if not specified by the user.
(extra_args)
| 821 | |
| 822 | |
| 823 | def set_default_checksum_algorithm(extra_args): |
| 824 | """Set the default algorithm if not specified by the user.""" |
| 825 | if any(checksum in extra_args for checksum in FULL_OBJECT_CHECKSUM_ARGS): |
| 826 | return |
| 827 | extra_args.setdefault("ChecksumAlgorithm", DEFAULT_CHECKSUM_ALGORITHM) |
no outgoing calls