Ejemplo n.º 1
0
 def _extra_complete_multipart_args(self, extra_args):
     return get_filtered_dict(extra_args, self.COMPLETE_MULTIPART_ARGS)
Ejemplo n.º 2
0
 def _extra_upload_part_args(self, extra_args):
     # Only the args in COPY_PART_ARGS actually need to be passed
     # onto the upload_part_copy calls.
     return get_filtered_dict(extra_args, self.UPLOAD_PART_COPY_ARGS)
Ejemplo n.º 3
0
 def _extra_upload_part_args(self, extra_args):
     # Only the args in UPLOAD_PART_ARGS actually need to be passed
     # onto the upload_part calls.
     return get_filtered_dict(extra_args, self.UPLOAD_PART_ARGS)
Ejemplo n.º 4
0
 def _extra_complete_multipart_args(self, extra_args):
     return get_filtered_dict(extra_args, self.COMPLETE_MULTIPART_ARGS)
Ejemplo n.º 5
0
 def test_get_filtered_dict(self):
     original = {'Include': 'IncludeValue', 'NotInlude': 'NotIncludeValue'}
     whitelist = ['Include']
     self.assertEqual(get_filtered_dict(original, whitelist),
                      {'Include': 'IncludeValue'})