dvid.fetch.get_master_node

dvid.fetch.get_master_node(id, server=None)[source]

Get UUID of the current master node.

Parameters
  • id (str) – UUID of a node or a project you want the current master node for. You can get use list_projects to get the root ID for a project and then use this function to get the master.

  • server (str, optional) – If not provided will fall back to globally defined server.

Returns

master – ID of master node.

Return type

str