NeuroMorphoSearchPage

NeuroMorphoSearchPage#

class braincell.io.NeuroMorphoSearchPage(items, page, size, total_pages, total_elements, query_url)[source]#

One page of search results from /api/neuron/select.

Parameters:
  • items (tuple[NeuroMorphoNeuron, ...]) – Neurons returned for this page.

  • page (int) – Zero-based page index.

  • size (int) – Page size requested by the caller.

  • total_pages (int) – Total number of pages reported by the upstream API.

  • total_elements (int) – Total number of matching neurons.

  • query_url (str) – Effective URL of the request that produced this page.