pymaid.get_mirror_info

pymaid.get_mirror_info(stack: int | str | StackInfo, mirror: int | str, remote_instance: CatmaidInstance | None = None) MirrorInfo[source]

Get information about a stack mirror.

Parameters:
  • stack (Union[int, str, StackInfo]) – Integer stack ID, string stack title, or an existing StackInfo object (avoids server request).

  • mirror (Union[int, str]) – Integer mirror ID, or string mirror title.

  • remote_instance (Optional[CatmaidInstance]) – By default, global.

Return type:

MirrorInfo

Raises:

ValueError – No mirror matching given ID/ title.