MCPcopy Create free account
hub / github.com/Azure/azure-storage-python / run_all_samples

Method run_all_samples

samples/file/file_usage.py:23–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 self.account = account
22
23 def run_all_samples(self):
24 self.service = self.account.create_file_service()
25
26 self.create_file()
27 self.delete_file()
28 self.file_metadata()
29 self.file_properties()
30 self.file_exists()
31 self.resize_file()
32 self.copy_file()
33 self.file_range()
34
35 self.file_with_bytes()
36 self.file_with_stream()
37 self.file_with_path()
38 self.file_with_text()
39
40 def _get_resource_reference(self, prefix):
41 return '{}{}'.format(prefix, str(uuid.uuid4()).replace('-', ''))

Callers 1

test_file_samplesMethod · 0.95

Calls 13

create_fileMethod · 0.95
delete_fileMethod · 0.95
file_metadataMethod · 0.95
file_propertiesMethod · 0.95
file_existsMethod · 0.95
resize_fileMethod · 0.95
copy_fileMethod · 0.95
file_rangeMethod · 0.95
file_with_bytesMethod · 0.95
file_with_streamMethod · 0.95
file_with_pathMethod · 0.95
file_with_textMethod · 0.95

Tested by 1

test_file_samplesMethod · 0.76