Home / Function/ blockbuster() — langchain Function Reference

blockbuster() — langchain Function Reference

Architecture documentation for the blockbuster() function in conftest.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  3eeb566c_de7b_9c47_208b_11bebc222333["blockbuster()"]
  e7f28879_d9b0_59eb_c106_fe5bbec0e649["conftest.py"]
  3eeb566c_de7b_9c47_208b_11bebc222333 -->|defined in| e7f28879_d9b0_59eb_c106_fe5bbec0e649
  style 3eeb566c_de7b_9c47_208b_11bebc222333 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/conftest.py lines 13–35

def blockbuster() -> Iterator[BlockBuster]:
    with blockbuster_ctx("langchain_core") as bb:
        for func in ["os.stat", "os.path.abspath"]:
            (
                bb.functions[func]
                .can_block_in("langchain_core/_api/internal.py", "is_caller_internal")
                .can_block_in("langchain_core/runnables/base.py", "__repr__")
                .can_block_in(
                    "langchain_core/beta/runnables/context.py", "aconfig_with_context"
                )
            )

        for func in ["os.stat", "io.TextIOWrapper.read"]:
            bb.functions[func].can_block_in(
                "langsmith/client.py", "_default_retry_config"
            )

        for bb_function in bb.functions.values():
            bb_function.can_block_in(
                "freezegun/api.py", "_get_cached_module_attributes"
            )

        yield bb

Subdomains

Frequently Asked Questions

What does blockbuster() do?
blockbuster() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/conftest.py.
Where is blockbuster() defined?
blockbuster() is defined in libs/core/tests/unit_tests/conftest.py at line 13.

Analyze Your Own Codebase

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

Try Supermodel Free