kinbaku.Graph.batch_get_nodes

Graph.batch_get_nodes(batch_size=100, cursor=0)[source]

Get a batch of nodes starting from a given table position

Parameters
  • batch_size (int) – number of nodes to return per batch

  • cursor (int) – starting position in the table

Returns

list of nodes int: cursor for the next batch. Equals -1 if the end is reached

Return type

list[node_class]