Home / Class/ OmitFromSchema Class — langchain Architecture

OmitFromSchema Class — langchain Architecture

Architecture documentation for the OmitFromSchema class in types.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  ec54dcdd_df21_a3fc_bed9_c6bdee92eaa7["OmitFromSchema"]
  fb1284e2_76fc_661f_c16d_e084e8c2b175["types.py"]
  ec54dcdd_df21_a3fc_bed9_c6bdee92eaa7 -->|defined in| fb1284e2_76fc_661f_c16d_e084e8c2b175

Relationship Graph

Source Code

libs/langchain_v1/langchain/agents/middleware/types.py lines 330–337

class OmitFromSchema:
    """Annotation used to mark state attributes as omitted from input or output schemas."""

    input: bool = True
    """Whether to omit the attribute from the input schema."""

    output: bool = True
    """Whether to omit the attribute from the output schema."""

Frequently Asked Questions

What is the OmitFromSchema class?
OmitFromSchema is a class in the langchain codebase, defined in libs/langchain_v1/langchain/agents/middleware/types.py.
Where is OmitFromSchema defined?
OmitFromSchema is defined in libs/langchain_v1/langchain/agents/middleware/types.py at line 330.

Analyze Your Own Codebase

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

Try Supermodel Free