def to_input_req(self):
        """Converts the ``self`` instance to the desired input request format.

        Returns:
            dict: Containing the "WarmStartType" and "ParentHyperParameterTuningJobs" as the first class fields.

        Examples:
            >>> warm_start_config = WarmStartConfig(warm_start_type=WarmStartTypes.TransferLearning,parents=["p1,p2"])
            >>> warm_start_config.to_input_req()
            {
                "WarmStartType":"TransferLearning",
                "ParentHyperParameterTuningJobs": [
                    {'HyperParameterTuningJobName': "p1"},
                    {'HyperParameterTuningJobName': "p2"},
                ]
            }
        """
        return {
            WARM_START_TYPE: self.type.value,
            PARENT_HYPERPARAMETER_TUNING_JOBS: [{HYPERPARAMETER_TUNING_JOB_NAME: parent} for parent in self.parents]
        }
def to_input_req ( self ) : return { WARM_START_TYPE : self . type . value , PARENT_HYPERPARAMETER_TUNING_JOBS : [ { HYPERPARAMETER_TUNING_JOB_NAME : parent } for parent in self . parents ] }
Converts the ``self`` instance to the desired input request format.

        Returns:
            dict: Containing the "WarmStartType" and "ParentHyperParameterTuningJobs" as the first class fields.

        Examples:
            >>> warm_start_config = WarmStartConfig(warm_start_type=WarmStartTypes.TransferLearning,parents=["p1,p2"])
            >>> warm_start_config.to_input_req()
            {
                "WarmStartType":"TransferLearning",
                "ParentHyperParameterTuningJobs": [
                    {'HyperParameterTuningJobName': "p1"},
                    {'HyperParameterTuningJobName': "p2"},
                ]
            }