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

Method _client_config

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

Source from the content-addressed store, hash-verified

280 self.endpoint_url = settings.s3_endpoint_url
281
282 def _client_config(self) -> Config:
283 config = {"signature_version": self.signature_version}
284 s3_config = {}
285 if self.addressing_style in {"path", "virtual", "auto"}:
286 s3_config["addressing_style"] = self.addressing_style
287 if s3_config:
288 config["s3"] = s3_config
289 return Config(**config)
290
291 def _client(self):
292 return self.session.client(

Calls

no outgoing calls