MCPcopy Create free account
hub / github.com/aws/aws-cli / _validate_all_known_args

Method _validate_all_known_args

awscli/s3transfer/manager.py:511–517  ·  view source on GitHub ↗
(self, actual, allowed)

Source from the content-addressed store, hash-verified

509 )
510
511 def _validate_all_known_args(self, actual, allowed):
512 for kwarg in actual:
513 if kwarg not in allowed:
514 raise ValueError(
515 "Invalid extra_args key '{}', "
516 "must be one of: {}".format(kwarg, ', '.join(allowed))
517 )
518
519 def _add_operation_defaults(self, extra_args):
520 if (

Callers 4

uploadMethod · 0.95
downloadMethod · 0.95
copyMethod · 0.95
deleteMethod · 0.95

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected