dvid.fetch.get_assignment_status¶
- dvid.fetch.get_assignment_status(pos, window=None, bodyid=None, server=None, node=None)[source]¶
Return assignment status at given position.
Checking/unchecking assigments leaves invisible “bookmarks” at the given position. These can be queried using this endpoint.
- Parameters
pos (tuple) – X/Y/Z Coordinates to query.
window (array-like | None, optional) – If provided, will return assigments in bounding box with
pos
in the center andwindow
as size in x/y/z.bodyid (int | list, optional) – If provided, will only return assignments that are within the given body ID(s). Only relevant if
window!=None
.server (str, optional) – If not provided, will try reading from global.
node (str, optional) – If not provided, will try reading from global.
- Returns
dict – E.g.
{'checked': True}
if assignment(s) were found at given position/in given bounding box.None – If no assigments found.
list – If
window!=None
will return a list of of dicts.