get_weights# Algorithm.get_weights(policies: List[str] | None = None) → dict[source]# Return a dict mapping Module/Policy IDs to weights. Parameters: policies (List[str] | None) – Optional list of policies to return weights for, or None for all policies. Returns: A dict mapping ModuleID/PolicyID to the respective weights. Return type: dict