MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / upload_body

Method upload_body

app/api/agentops/api/storage.py:109–111  ·  view source on GitHub ↗

Upload the object to S3.

(self, body: BytesIO)

Source from the content-addressed store, hash-verified

107 )
108
109 async def upload_body(self, body: BytesIO) -> None:
110 """Upload the object to S3."""
111 self.client.upload_fileobj(body, self.bucket_name, self.filename)
112
113 @property
114 def filename(self) -> str:

Callers 2

__call__Method · 0.95

Calls

no outgoing calls

Tested by 1