MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / get_blob

Function get_blob

plugins/src/samples.py:23–31  ·  view source on GitHub ↗
(account_name, container_name, file_path, sas_token)

Source from the content-addressed store, hash-verified

21
22
23def get_blob(account_name, container_name, file_path, sas_token):
24 if not sas_token:
25 return BlobClient.from_blob_url(
26 f"https://{account_name}.blob.core.windows.net/{container_name}/{file_path}.sigmf-data",
27 )
28 return BlobClient.from_blob_url(
29 f"https://{account_name}.blob.core.windows.net/{container_name}/{file_path}.sigmf-data",
30 credential=sas_token,
31 )
32
33
34def get_custom_params(plugin: Plugin, samples: SamplesB64 | SamplesCloud):

Callers 1

get_from_samples_cloudFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected