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

Function file_metadata_body

tests/test_middleware.py:365–373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected