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

Function file_metadata_body

tests/test_middleware.py:366–374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected