AccessorRegistration

AccessorRegistration#

class 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 (for example, '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.

Attributes#

AccessorRegistration.accessor

Alias for field number 2

AccessorRegistration.name

Alias for field number 0

AccessorRegistration.source

Alias for field number 3

AccessorRegistration.target

Alias for field number 1