(op: "lale.operators.IndividualOp")
Names of the arguments to the constructor of the impl.

    Parameters
    ----------
    op: lale.operators.IndividualOp
        Operator whose hyperparameters to get.

    Returns
    -------
    List[str]
        List of hyperparameter names.
Names of the arguments to the constructor of the impl.
Names of the arguments to the constructor of the impl .
def get_hyperparam_names(op: "lale.operators.IndividualOp") -> List[str]:
    """Names of the arguments to the constructor of the impl.

    Parameters
    ----------
    op: lale.operators.IndividualOp
        Operator whose hyperparameters to get.

    Returns
    -------
    List[str]
        List of hyperparameter names.
    """
    if op.impl_class.__module__.startswith("lale"):
        hp_schema = op.hyperparam_schema()
        params = next(iter(hp_schema.get("allOf", []))).get("properties", {})
        return list(params.keys())
    else:
        c: Any = op.impl_class
        return inspect.getargspec(c.__init__).args
def get_hyperparam_names ( op : "lale.operators.IndividualOp" ) -> List [ str ] : if op . impl_class . __module__ . startswith ( "lale" ) : hp_schema = op . hyperparam_schema ( ) params = next ( iter ( hp_schema . get ( "allOf" , [ ] ) ) ) . get ( "properties" , { } ) return list ( params . keys ( ) ) else : c : Any = op . impl_class return inspect . getargspec ( c . __init__ ) . args