grai_client
endpoints
v1
delete

delete_node_v1

@delete.register
def delete_node_v1(client: ClientV1,
                   grai_type: NodeV1,
                   options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_source_node_by_source_node_v1

@delete.register
def delete_source_node_by_source_node_v1(
    client: ClientV1,
    grai_type: SourcedNodeV1,
    options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_source_node_spec

@delete.register
def delete_source_node_spec(client: ClientV1,
                            grai_type: SourcedNodeSpec,
                            options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_source_edge_by_source_node_v1

@delete.register
def delete_source_edge_by_source_node_v1(
    client: ClientV1,
    grai_type: SourcedEdgeV1,
    options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_source_edge_spec

@delete.register
def delete_source_edge_spec(client: ClientV1,
                            grai_type: SourcedEdgeSpec,
                            options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_edge_v1

@delete.register
def delete_edge_v1(client: ClientV1,
                   grai_type: EdgeV1,
                   options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_workspace_v1

@delete.register
def delete_workspace_v1(client: ClientV1,
                        grai_type: Union[WorkspaceV1, WorkspaceSpec,
                                         WorkspaceLabels],
                        options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_organisation_v1

@delete.register
def delete_organisation_v1(client: ClientV1,
                           grai_type: Union[OrganisationV1, OrganisationSpec,
                                            OrganisationLabels],
                           options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_source_by_label

@delete.register
def delete_source_by_label(client: ClientV1,
                           grai_type: SourceLabels,
                           options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns:

delete_source_by_source_v1

@delete.register
def delete_source_by_source_v1(client: ClientV1,
                               grai_type: SourceV1,
                               options: ClientOptions = ClientOptions())

Arguments:

client: grai_type:

  • options - (Default value = ClientOptions())

Returns: