baybe.utils.basic.get_baseclasses¶ baybe.utils.basic.get_baseclasses(cls: type, recursive: bool = True, abstract: bool = False)[source]¶ Return a list of base classes for the given class. Parameters: cls (type) – The class to retrieve base classes for. recursive (bool) – If True, indirect base classes (i.e., base classes of base classes) are included. abstract (bool) – If True, abstract base classes are included. Return type: list[type] Returns: A list of base classes for the given class.