CheckBase

class plasmapy.utils.decorators.checks.CheckBase(checks_on_return=None, **checks)[source]

Bases: object

Base class for ‘Check’ decorator classes.

Parameters:
  • checks_on_return – specified checks on the return of the wrapped function

  • **checks – specified checks on the input arguments of the wrapped function

Attributes Summary

checks

Requested checks on the decorated function's input arguments and/or return.

Attributes Documentation

checks

Requested checks on the decorated function’s input arguments and/or return.