qcodes/dataset/descriptions/dependencies.py
def validate_subset(self, parameters: Sequence[ParamSpecBase]) -> None:
        """
        Validate that the given parameters form a valid subset of the
        parameters of this instance, meaning that all the given parameters are
        actually found in this instance and that there are no missing
        dependencies/inferences.

        Args:
            parameters: The collection of ParamSpecBases to validate

        Raises:
            DependencyError, if a dependency is missing
            InferenceError, if an inference is missing
        """
        params = {p.name for p in parameters}

        for param in params:
            ps = self._id_to_paramspec.get(param, None)
            if ps is None:
                raise ValueError(f'Unknown parameter: {param}')

            deps = set(self._deps_names.get(param, ()))
            missing_deps = deps.difference(params)
            if missing_deps:
                raise DependencyError(param, missing_deps)

            inffs = set(self._infs_names.get(param, ()))
            missing_inffs = inffs.difference(params)
            if missing_inffs:
                raise InferenceError(param, missing_inffs)

        Validate that the given parameters form a valid subset of the
        parameters of this instance, meaning that all the given parameters are
        actually found in this instance and that there are no missing
        dependencies/inferences.

        Args:
            parameters: The collection of ParamSpecBases to validate

        Raises:
            DependencyError, if a dependency is missing
            InferenceError, if an inference is missing
        
Validate that the given parameters form a valid subset of the
parameters of this instance, meaning that all the given parameters are
actually found in this instance and that there are no missing
dependencies/inferences.

The collection of ParamSpecBases to validate

DependencyError, if a dependency is missing
InferenceError, if an inference is missing
Validate that the given parameters form a valid subset of the parameters of this instance meaning that all the given parameters are actually found in this instance and that there are no missing dependencies / inferences . The collection of ParamSpecBases to validate DependencyError if a dependency is missing InferenceError if an inference is missing
def validate_subset(self, parameters: Sequence[ParamSpecBase]) -> None:
        params = {p.name for p in parameters}
        for param in params:
            ps = self._id_to_paramspec.get(param, None)
            if ps is None:
                raise ValueError(f'Unknown parameter: {param}')
            deps = set(self._deps_names.get(param, ()))
            missing_deps = deps.difference(params)
            if missing_deps:
                raise DependencyError(param, missing_deps)
            inffs = set(self._infs_names.get(param, ()))
            missing_inffs = inffs.difference(params)
            if missing_inffs:
                raise InferenceError(param, missing_inffs)
def validate_subset ( self , parameters : Sequence [ ParamSpecBase ] ) -> None : params = { p . name for p in parameters } for param in params : ps = self . _id_to_paramspec . get ( param , None ) if ps is None : raise ValueError ( f'Unknown parameter: {param}' ) deps = set ( self . _deps_names . get ( param , ( ) ) ) missing_deps = deps . difference ( params ) if missing_deps : raise DependencyError ( param , missing_deps ) inffs = set ( self . _infs_names . get ( param , ( ) ) ) missing_inffs = inffs . difference ( params ) if missing_inffs : raise InferenceError ( param , missing_inffs )
Validate that the given parameters form a valid subset of the
parameters of this instance, meaning that all the given parameters are
actually found in this instance and that there are no missing
dependencies/inferences.
Validate that the given parameters form a valid subset of the parameters of this instance meaning that all the given parameters are actually found in this instance and that there are no missing dependencies / inferences .
"""
        Validate that the given parameters form a valid subset of the
        parameters of this instance, meaning that all the given parameters are
        actually found in this instance and that there are no missing
        dependencies/inferences.

        Args:
            parameters: The collection of ParamSpecBases to validate

        Raises:
            DependencyError, if a dependency is missing
            InferenceError, if an inference is missing
        """
self
parameters
Sequence[ParamSpecBase]