Home / Function/ test_multiple_files() — anthropic-sdk-python Function Reference

test_multiple_files() — anthropic-sdk-python Function Reference

Architecture documentation for the test_multiple_files() function in test_extract_files.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  aee1fbac_6d4a_fd55_9af5_78578ff5f38c["test_multiple_files()"]
  0c5e6779_0a2a_28fc_5287_7349e6c59ced["test_extract_files.py"]
  aee1fbac_6d4a_fd55_9af5_78578ff5f38c -->|defined in| 0c5e6779_0a2a_28fc_5287_7349e6c59ced
  style aee1fbac_6d4a_fd55_9af5_78578ff5f38c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_extract_files.py lines 29–35

def test_multiple_files() -> None:
    query = {"documents": [{"file": b"My first file"}, {"file": b"My second file"}]}
    assert extract_files(query, paths=[["documents", "<array>", "file"]]) == [
        ("documents[][file]", b"My first file"),
        ("documents[][file]", b"My second file"),
    ]
    assert query == {"documents": [{}, {}]}

Subdomains

Frequently Asked Questions

What does test_multiple_files() do?
test_multiple_files() is a function in the anthropic-sdk-python codebase, defined in tests/test_extract_files.py.
Where is test_multiple_files() defined?
test_multiple_files() is defined in tests/test_extract_files.py at line 29.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free