test_detect_multiple_emails() — langchain Function Reference
Architecture documentation for the test_detect_multiple_emails() function in test_pii.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 021a9b35_7c9d_24d4_1cf2_66a33dbdb49e["test_detect_multiple_emails()"] 86da6b6e_fd60_6255_80b9_e736a26b0ee4["TestEmailDetection"] 021a9b35_7c9d_24d4_1cf2_66a33dbdb49e -->|defined in| 86da6b6e_fd60_6255_80b9_e736a26b0ee4 style 021a9b35_7c9d_24d4_1cf2_66a33dbdb49e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_pii.py lines 41–47
def test_detect_multiple_emails(self) -> None:
content = "Email alice@test.com or bob@company.org"
matches = detect_email(content)
assert len(matches) == 2
assert matches[0]["value"] == "alice@test.com"
assert matches[1]["value"] == "bob@company.org"
Domain
Subdomains
Source
Frequently Asked Questions
What does test_detect_multiple_emails() do?
test_detect_multiple_emails() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_pii.py.
Where is test_detect_multiple_emails() defined?
test_detect_multiple_emails() is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_pii.py at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free