swagger_server/models/source.py
def option(self, option: str):
        """Sets the option of this Source.

        option of the type of input  # noqa: E501

        :param option: The option of this Source.
        :type option: str
        """
        allowed_values = ["predict", "preprocess", "event", "sampling", "pv_predict", "pv_predict_lstm"]  # noqa: E501
        if option not in allowed_values:
            raise ValueError(
                "Invalid value for `option` ({0}), must be one of {1}"
                .format(option, allowed_values)
            )

        self._option = option
Sets the option of this Source.

        option of the type of input  # noqa: E501

        :param option: The option of this Source.
        :type option: str
        
Sets the option of this Source.
option of the type of input  # noqa: E501
Sets the option of this Source . option of the type of input # noqa : E501
def option(self, option: str):
        allowed_values = ["predict", "preprocess", "event", "sampling", "pv_predict", "pv_predict_lstm"]  
        if option not in allowed_values:
            raise ValueError(
                "Invalid value for `option` ({0}), must be one of {1}"
                .format(option, allowed_values)
            )
        self._option = option
def option ( self , option : str ) : allowed_values = [ "predict" , "preprocess" , "event" , "sampling" , "pv_predict" , "pv_predict_lstm" ] if option not in allowed_values : raise ValueError ( "Invalid value for `option` ({0}), must be one of {1}" . format ( option , allowed_values ) ) self . _option = option
Sets the option of this Source.
Sets the option of this Source .
"""Sets the option of this Source.

        option of the type of input  # noqa: E501

        :param option: The option of this Source.
        :type option: str
        """ # noqa: E501
self
option
str
The option of this Source.
The option of this Source .