arraylias.Alias.infer_libs#

Alias.infer_libs(obj: str | type | any, allow_sequence: bool = True) Tuple[str, ...][source]#

Infer the registered library name for an object.

Parameters:
  • obj – array object to check.

  • allow_sequence – If True recursively check the element type of list and tuple objects (Default: True).

Returns:

A tuple of library names registered for the input object type.