grai_client
testing
schema

mock_v1_node

def mock_v1_node(name=None,
                 namespace=None,
                 data_source=None,
                 display_name=None,
                 is_active=True,
                 metadata={})

Arguments:

  • name - (Default value = None)
  • namespace - (Default value = None)
  • data_source - (Default value = None)
  • display_name - (Default value = None)
  • is_active - (Default value = True)
  • metadata - (Default value = {})

Returns:

mock_node_id

def mock_node_id()

mock_v1_edge

def mock_v1_edge(name=None,
                 namespace=None,
                 data_source=None,
                 source=None,
                 destination=None,
                 is_active=True,
                 metadata={})

Arguments:

  • name - (Default value = None)
  • namespace - (Default value = None)
  • data_source - (Default value = None)
  • source - (Default value = None)
  • destination - (Default value = None)
  • is_active - (Default value = True)
  • metadata - (Default value = {})

Returns:

mock_v1_edge_and_nodes

def mock_v1_edge_and_nodes(name=None,
                           data_source=None,
                           is_active=True,
                           metadata={},
                           namespace=None)

Arguments:

  • name - (Default value = None)
  • data_source - (Default value = None)
  • is_active - (Default value = True)
  • metadata - (Default value = {})
  • namespace - (Default value = None)

Returns: