dvid.fetch.get_annotation

dvid.fetch.get_annotation(bodyid, server=None, node=None, verbose=True)[source]

Fetch annotations for given body.

Parameters
  • bodyid (int | str) – ID of body for which to get annotations..

  • server (str, optional) – If not provided, will try reading from global.

  • node (str, optional) – If not provided, will try reading from global.

  • verbose (bool, optional) – If True, will print error if no annotation for body found.

Returns

annotations

Return type

dict