grai_graph
utils

TestNodeObj Objects

class TestNodeObj(BaseModel)

mock_v1_node

def mock_v1_node(node: Union[str, TestNodeObj])

Arguments:

node (Union[str, TestNodeObj]):

Returns:

mock_v1_edge

def mock_v1_edge(source_node: Union[str, TestNodeObj],
                 destination_node: Union[str, TestNodeObj],
                 metadata={})

Arguments:

source_node (Union[str, TestNodeObj]): destination_node (Union[str, TestNodeObj]):

  • metadata - (Default value = {})

Returns:

build_graph_from_map

def build_graph_from_map(
    map: Dict[Union[str, TestNodeObj], List[Tuple[str,
                                                  ColumnToColumnAttributes]]]
) -> graph.Graph

Arguments:

map (Dict[Union[str, TestNodeObj]): List]]]:

Returns:

get_analysis_from_map

def get_analysis_from_map(
    map: Dict[Union[str, TestNodeObj], List[Tuple[str,
                                                  ColumnToColumnAttributes]]]
) -> analysis.GraphAnalyzer

Arguments:

map (Dict[Union[str, TestNodeObj]): Dict]]]:

Returns: