pisces.models.galaxy_clusters.spherical.MagnetizedSphericalGalaxyClusterModel.get_all_hooks#

classmethod MagnetizedSphericalGalaxyClusterModel.get_all_hooks(names: bool = True) list[BaseHook] | list[str]#

Return all hook classes mixed into the model, regardless of activation status.

If names is True, return a list of hook class names instead of class objects.

Parameters:

names (bool, optional) – If True, return a list of hook class names. If False, return the actual hook classes. Defaults to True.

Returns:

List of hook classes (subclasses of BaseHook) in MRO.

Return type:

list of type