bw2calc.restricted_sparse_matrix_dict ===================================== .. py:module:: bw2calc.restricted_sparse_matrix_dict Classes ------- .. autoapisummary:: bw2calc.restricted_sparse_matrix_dict.RestrictedSparseMatrixDict bw2calc.restricted_sparse_matrix_dict.RestrictionsValidator Module Contents --------------- .. py:class:: RestrictedSparseMatrixDict(restrictions: dict, *args, **kwargs) Bases: :py:obj:`matrix_utils.SparseMatrixDict` Like SparseMatrixDict, but follows `restrictions` on what can be multiplied. Only for use with normalization and weighting. .. py:attribute:: _restrictions .. py:class:: RestrictionsValidator Bases: :py:obj:`pydantic.BaseModel` .. py:attribute:: restrictions :type: dict[tuple[str, Ellipsis], list[tuple[str, Ellipsis]]]