Repository navigation
config: s3: add storage_class, requester_pays, object_tags, extra_s3_args - #11123
Open
Jenia3377543 wants to merge 1 commit into
Open
Jenia3377543 wants to merge 1 commit into
Jenia3377543 wants to merge 1 commit into
Conversation
…args Allow the S3 remote write options added in dvc-s3 so they can be set with `dvc remote modify`. Without these schema entries DVC rejects the keys with "extra keys not allowed". `requester_pays` is validated as a boolean and defaults to false; the others are free-form strings interpreted by dvc-s3. Fixes treeverse#11122 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced
Adds the S3 remote write options from treeverse/dvc-s3#173 to the config
schema, so
dvc remote modifyaccepts them instead of failing with"extra keys not allowed".
storage_class,object_tags,extra_s3_args: strings, interpreted by dvc-s3requester_pays: boolean, defaultfalseFixes #11122
Related:
Testing
tests/unit/test_config.py(load and validate all fouroptions;
requester_paysdefault)pytest tests/unit/test_config.pypasses; pre-commit hooks (ruff, mypy,codespell) pass
dvc remote modify myremote requester_pays maybeis rejected🤖 Generated with Claude Code