Skip to content

Latest commit

 

History

History
107 lines (61 loc) · 4.8 KB

File metadata and controls

107 lines (61 loc) · 4.8 KB
graph LR
    glom_core_Path["glom.core.Path"]
    glom_core__t_eval["glom.core._t_eval"]
    glom_core__s_first_magic["glom.core._s_first_magic"]
    glom_core__handle_list["glom.core._handle_list"]
    glom_core__handle_tuple["glom.core._handle_tuple"]
    glom_core_PathAccessError["glom.core.PathAccessError"]
    glom_core_from_t["glom.core.from_t"]
    glom_core___getitem__["glom.core.__getitem__"]
    glom_core_Path -- "is interpreted by" --> glom_core__t_eval
    glom_core_Path -- "is constructed by" --> glom_core_from_t
    glom_core_Path -- "is constructed by" --> glom_core___getitem__
    glom_core__t_eval -- "interprets and uses" --> glom_core_Path
    glom_core__t_eval -- "calls" --> glom_core__s_first_magic
    glom_core__t_eval -- "leverages" --> glom_core__handle_list
    glom_core__t_eval -- "leverages" --> glom_core__handle_tuple
    glom_core__t_eval -- "raises" --> glom_core_PathAccessError
    glom_core__s_first_magic -- "is called by" --> glom_core__t_eval
    glom_core__s_first_magic -- "raises" --> glom_core_PathAccessError
    glom_core__handle_list -- "is leveraged by" --> glom_core__t_eval
    glom_core__handle_tuple -- "is leveraged by" --> glom_core__t_eval
    glom_core_from_t -- "constructs" --> glom_core_Path
    glom_core___getitem__ -- "constructs and uses" --> glom_core_Path
Loading

CodeBoardingDemoContact

Details

The Data Access & Navigation subsystem in glom, responsible for interpreting navigation paths and accessing specific data elements within complex input objects.

glom.core.Path

The fundamental immutable data structure representing a sequence of keys or indices. It serves as the declarative Domain-Specific Language (DSL) for navigating data structures.

Related Classes/Methods:

glom.core._t_eval

The central evaluation engine for data access. It interprets Path objects and executes the traversal logic, embodying the "Data Access Layer/Selector" pattern.

Related Classes/Methods:

glom.core._s_first_magic

A specialized handler for the initial segment of a Path, managing "magic" operations or special access logic at the start of a traversal.

Related Classes/Methods:

glom.core._handle_list

Provides specific logic for navigating and accessing elements within list-like data structures during path traversal.

Related Classes/Methods:

glom.core._handle_tuple

Provides specific logic for navigating and accessing elements within tuple-like data structures during path traversal.

Related Classes/Methods:

glom.core.PathAccessError

The dedicated exception class for signaling errors encountered during path-based data access, crucial for robust error handling within the data processing pipeline.

Related Classes/Methods:

glom.core.from_t

A utility function for programmatically constructing Path objects, supporting the flexible creation of navigation instructions.

Related Classes/Methods:

glom.core.getitem

Enables a convenient, Pythonic syntax (e.g., T['key']) for defining paths, which internally constructs Path objects, enhancing the DSL's usability.

Related Classes/Methods: