MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / _client

Method _client

core/storage.py:291–298  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

289 return Config(**config)
290
291 def _client(self):
292 return self.session.client(
293 "s3",
294 endpoint_url=self.endpoint_url,
295 aws_session_token=self.aws_session_token,
296 region_name=self.region_name,
297 config=self._client_config(),
298 )
299
300 async def save_file(self, file: UploadFile, save_path: str):
301 async with self._client() as s3:

Callers 9

save_fileMethod · 0.95
delete_fileMethod · 0.95
get_file_responseMethod · 0.95
get_file_urlMethod · 0.95
save_chunkMethod · 0.95
merge_chunksMethod · 0.95
clean_chunksMethod · 0.95
file_existsMethod · 0.95

Calls 1

_client_configMethod · 0.95

Tested by

no test coverage detected