(self, name: Optional[str] = None)
Returns the hyperparameter schema for the operator.

        Parameters
        ----------
        name : string, optional
            Name of the hyperparameter.

        Returns
        -------
        dict
            Full hyperparameter schema for this operator or part of the schema
            corresponding to the hyperparameter given by parameter `name`.
Returns the hyperparameter schema for the operator.
Returns the hyperparameter schema for the operator .
def hyperparam_schema(self, name: Optional[str] = None) -> JSON_TYPE:
        """Returns the hyperparameter schema for the operator.

        Parameters
        ----------
        name : string, optional
            Name of the hyperparameter.

        Returns
        -------
        dict
            Full hyperparameter schema for this operator or part of the schema
            corresponding to the hyperparameter given by parameter `name`.
        """
        hp_schema = self.get_schema("hyperparams")
        if name is None:
            return hp_schema
        else:
            params = next(iter(hp_schema.get("allOf", [])))
            return params.get("properties", {}).get(name)
def hyperparam_schema ( self , name : Optional [ str ] = None ) -> JSON_TYPE : hp_schema = self . get_schema ( "hyperparams" ) if name is None : return hp_schema else : params = next ( iter ( hp_schema . get ( "allOf" , [ ] ) ) ) return params . get ( "properties" , { } ) . get ( name )