ak.mixin_class#

Defined in awkward.behaviors.mixins on line 13.

ak.mixin_class(registry, name=None)#
Parameters:
  • registry (dict) – The destination behavior mapping registry. Typically, this would be the global registry ak.behavior, but one may wish to register methods in an alternative way.

  • name (str) – The name to assign to the behaviour class.

This decorator can be used to register a behavior mixin class.

Any inherited behaviors will automatically be made available to the decorated class.

See the “Mixin decorators” section of ak.behavior for further details.