AccessorRegistration

AccessorRegistration#

namedtuple AccessorRegistration(name: str, target: type, accessor: type, source: str)[source]#

Describe one registered dataset accessor.

Returned by registered_accessors().

Added in version 0.48.0.

Attributes:
namestr

The namespace the accessor is attached under (e.g. 'meshfix').

targettype

The PyVista dataset class (or base class) the accessor is registered against.

accessortype

The accessor class itself.

sourcestr

Human-readable origin in the form 'module.qualname' — useful for debugging which plugin registered a given accessor.

Fields:
  1.  name (str) – Alias for field number 0

  2.  target (type) – Alias for field number 1

  3.  accessor (type) – Alias for field number 2

  4.  source (str) – Alias for field number 3