MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / file_metadata_body

Function file_metadata_body

tests/test_middleware.py:367–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365
366
367def file_metadata_body() -> dict[str, Any]:
368 return {
369 "id": "file_123",
370 "created_at": "2024-01-01T00:00:00Z",
371 "filename": "upload.txt",
372 "mime_type": "text/plain",
373 "size_bytes": 13,
374 "type": "file",
375 }
376
377
378class TestAPIRequest:

Calls

no outgoing calls

Tested by

no test coverage detected