code
stringlengths
66
870k
docstring
stringlengths
19
26.7k
func_name
stringlengths
1
138
language
stringclasses
1 value
repo
stringlengths
7
68
path
stringlengths
5
324
url
stringlengths
46
389
license
stringclasses
7 values
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1InferenceService): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1InferenceService): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service.py
Apache-2.0
def explainers(self, explainers): """Sets the explainers of this V1beta1InferenceServicesConfig. :param explainers: The explainers of this V1beta1InferenceServicesConfig. # noqa: E501 :type: V1beta1ExplainersConfig """ if self.local_vars_configuration.client_side_validation an...
Sets the explainers of this V1beta1InferenceServicesConfig. :param explainers: The explainers of this V1beta1InferenceServicesConfig. # noqa: E501 :type: V1beta1ExplainersConfig
explainers
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_services_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_services_config.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_services_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_services_config.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1InferenceServicesConfig): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_services_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_services_config.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1InferenceServicesConfig): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_services_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_services_config.py
Apache-2.0
def items(self, items): """Sets the items of this V1beta1InferenceServiceList. :param items: The items of this V1beta1InferenceServiceList. # noqa: E501 :type: list[V1beta1InferenceService] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa:...
Sets the items of this V1beta1InferenceServiceList. :param items: The items of this V1beta1InferenceServiceList. # noqa: E501 :type: list[V1beta1InferenceService]
items
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_list.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_list.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_list.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_list.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1InferenceServiceList): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_list.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_list.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1InferenceServiceList): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_list.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_list.py
Apache-2.0
def predictor(self, predictor): """Sets the predictor of this V1beta1InferenceServiceSpec. :param predictor: The predictor of this V1beta1InferenceServiceSpec. # noqa: E501 :type: V1beta1PredictorSpec """ if self.local_vars_configuration.client_side_validation and predictor is...
Sets the predictor of this V1beta1InferenceServiceSpec. :param predictor: The predictor of this V1beta1InferenceServiceSpec. # noqa: E501 :type: V1beta1PredictorSpec
predictor
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1InferenceServiceSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1InferenceServiceSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_status.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_status.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1InferenceServiceStatus): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_status.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_status.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1InferenceServiceStatus): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_inference_service_status.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_inference_service_status.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_ingress_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_ingress_config.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1IngressConfig): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_ingress_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_ingress_config.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1IngressConfig): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_ingress_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_ingress_config.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_keda_scaler.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_keda_scaler.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1KedaScaler): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_keda_scaler.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_keda_scaler.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1KedaScaler): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_keda_scaler.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_keda_scaler.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_light_gbm_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_light_gbm_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1LightGBMSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_light_gbm_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_light_gbm_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1LightGBMSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_light_gbm_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_light_gbm_spec.py
Apache-2.0
def enabled(self, enabled): """Sets the enabled of this V1beta1LocalModelConfig. :param enabled: The enabled of this V1beta1LocalModelConfig. # noqa: E501 :type: bool """ if self.local_vars_configuration.client_side_validation and enabled is None: # noqa: E501 rai...
Sets the enabled of this V1beta1LocalModelConfig. :param enabled: The enabled of this V1beta1LocalModelConfig. # noqa: E501 :type: bool
enabled
python
kserve/kserve
python/kserve/kserve/models/v1beta1_local_model_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_local_model_config.py
Apache-2.0
def job_namespace(self, job_namespace): """Sets the job_namespace of this V1beta1LocalModelConfig. :param job_namespace: The job_namespace of this V1beta1LocalModelConfig. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and job_namespace is ...
Sets the job_namespace of this V1beta1LocalModelConfig. :param job_namespace: The job_namespace of this V1beta1LocalModelConfig. # noqa: E501 :type: str
job_namespace
python
kserve/kserve
python/kserve/kserve/models/v1beta1_local_model_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_local_model_config.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_local_model_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_local_model_config.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1LocalModelConfig): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_local_model_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_local_model_config.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1LocalModelConfig): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_local_model_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_local_model_config.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_logger_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_logger_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1LoggerSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_logger_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_logger_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1LoggerSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_logger_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_logger_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metrics_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metrics_config.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1MetricsConfig): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metrics_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metrics_config.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1MetricsConfig): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metrics_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metrics_config.py
Apache-2.0
def type(self, type): """Sets the type of this V1beta1MetricsSpec. type is the type of metric source. It should be one of \"Resource\", \"External\", \"PodMetric\". \"Resource\" or \"External\" each mapping to a matching field in the object. # noqa: E501 :param type: The type of this V1beta1...
Sets the type of this V1beta1MetricsSpec. type is the type of metric source. It should be one of "Resource", "External", "PodMetric". "Resource" or "External" each mapping to a matching field in the object. # noqa: E501 :param type: The type of this V1beta1MetricsSpec. # noqa: E501 :type: s...
type
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metrics_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metrics_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metrics_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metrics_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1MetricsSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metrics_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metrics_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1MetricsSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metrics_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metrics_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metric_source.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1MetricSource): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metric_source.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1MetricSource): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metric_source.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metric_target.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metric_target.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1MetricTarget): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metric_target.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metric_target.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1MetricTarget): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_metric_target.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_metric_target.py
Apache-2.0
def failed_copies(self, failed_copies): """Sets the failed_copies of this V1beta1ModelCopies. How many copies of this predictor's models failed to load recently # noqa: E501 :param failed_copies: The failed_copies of this V1beta1ModelCopies. # noqa: E501 :type: int """ ...
Sets the failed_copies of this V1beta1ModelCopies. How many copies of this predictor's models failed to load recently # noqa: E501 :param failed_copies: The failed_copies of this V1beta1ModelCopies. # noqa: E501 :type: int
failed_copies
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_copies.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_copies.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_copies.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_copies.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1ModelCopies): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_copies.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_copies.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1ModelCopies): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_copies.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_copies.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_format.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_format.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1ModelFormat): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_format.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_format.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1ModelFormat): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_format.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_format.py
Apache-2.0
def active_model_state(self, active_model_state): """Sets the active_model_state of this V1beta1ModelRevisionStates. High level state string: Pending, Standby, Loading, Loaded, FailedToLoad # noqa: E501 :param active_model_state: The active_model_state of this V1beta1ModelRevisionStates. # n...
Sets the active_model_state of this V1beta1ModelRevisionStates. High level state string: Pending, Standby, Loading, Loaded, FailedToLoad # noqa: E501 :param active_model_state: The active_model_state of this V1beta1ModelRevisionStates. # noqa: E501 :type: str
active_model_state
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_revision_states.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_revision_states.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_revision_states.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_revision_states.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1ModelRevisionStates): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_revision_states.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_revision_states.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1ModelRevisionStates): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_revision_states.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_revision_states.py
Apache-2.0
def model_format(self, model_format): """Sets the model_format of this V1beta1ModelSpec. :param model_format: The model_format of this V1beta1ModelSpec. # noqa: E501 :type: V1beta1ModelFormat """ if self.local_vars_configuration.client_side_validation and model_format is None:...
Sets the model_format of this V1beta1ModelSpec. :param model_format: The model_format of this V1beta1ModelSpec. # noqa: E501 :type: V1beta1ModelFormat
model_format
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1ModelSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1ModelSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_spec.py
Apache-2.0
def transition_status(self, transition_status): """Sets the transition_status of this V1beta1ModelStatus. Whether the available predictor endpoints reflect the current Spec or is in transition # noqa: E501 :param transition_status: The transition_status of this V1beta1ModelStatus. # noqa: E5...
Sets the transition_status of this V1beta1ModelStatus. Whether the available predictor endpoints reflect the current Spec or is in transition # noqa: E501 :param transition_status: The transition_status of this V1beta1ModelStatus. # noqa: E501 :type: str
transition_status
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_status.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_status.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_status.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_status.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1ModelStatus): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_status.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_status.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1ModelStatus): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_model_status.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_model_status.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_multi_node_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_multi_node_config.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1MultiNodeConfig): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_multi_node_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_multi_node_config.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1MultiNodeConfig): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_multi_node_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_multi_node_config.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_onnx_runtime_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_onnx_runtime_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1ONNXRuntimeSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_onnx_runtime_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_onnx_runtime_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1ONNXRuntimeSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_onnx_runtime_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_onnx_runtime_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_otel_collector_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_otel_collector_config.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1OtelCollectorConfig): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_otel_collector_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_otel_collector_config.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1OtelCollectorConfig): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_otel_collector_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_otel_collector_config.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_paddle_server_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_paddle_server_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1PaddleServerSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_paddle_server_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_paddle_server_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1PaddleServerSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_paddle_server_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_paddle_server_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pmml_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pmml_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1PMMLSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pmml_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pmml_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1PMMLSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pmml_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pmml_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metrics.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metrics.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1PodMetrics): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metrics.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metrics.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1PodMetrics): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metrics.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metrics.py
Apache-2.0
def metric(self, metric): """Sets the metric of this V1beta1PodMetricSource. :param metric: The metric of this V1beta1PodMetricSource. # noqa: E501 :type: V1beta1PodMetrics """ if self.local_vars_configuration.client_side_validation and metric is None: # noqa: E501 ...
Sets the metric of this V1beta1PodMetricSource. :param metric: The metric of this V1beta1PodMetricSource. # noqa: E501 :type: V1beta1PodMetrics
metric
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metric_source.py
Apache-2.0
def target(self, target): """Sets the target of this V1beta1PodMetricSource. :param target: The target of this V1beta1PodMetricSource. # noqa: E501 :type: V1beta1MetricTarget """ if self.local_vars_configuration.client_side_validation and target is None: # noqa: E501 ...
Sets the target of this V1beta1PodMetricSource. :param target: The target of this V1beta1PodMetricSource. # noqa: E501 :type: V1beta1MetricTarget
target
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metric_source.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metric_source.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1PodMetricSource): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metric_source.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1PodMetricSource): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_metric_source.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_metric_source.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_spec.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1PodSpec): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_spec.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1PodSpec): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_pod_spec.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_pod_spec.py
Apache-2.0
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if has...
Returns the model properties as a dict
to_dict
python
kserve/kserve
python/kserve/kserve/models/v1beta1_predictors_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_predictors_config.py
Apache-2.0
def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1beta1PredictorsConfig): return False return self.to_dict() == other.to_dict()
Returns true if both objects are equal
__eq__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_predictors_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_predictors_config.py
Apache-2.0
def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1beta1PredictorsConfig): return True return self.to_dict() != other.to_dict()
Returns true if both objects are not equal
__ne__
python
kserve/kserve
python/kserve/kserve/models/v1beta1_predictors_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_predictors_config.py
Apache-2.0
def default_gpu_image_version(self, default_gpu_image_version): """Sets the default_gpu_image_version of this V1beta1PredictorConfig. default predictor docker image version on gpu # noqa: E501 :param default_gpu_image_version: The default_gpu_image_version of this V1beta1PredictorConfig. # n...
Sets the default_gpu_image_version of this V1beta1PredictorConfig. default predictor docker image version on gpu # noqa: E501 :param default_gpu_image_version: The default_gpu_image_version of this V1beta1PredictorConfig. # noqa: E501 :type: str
default_gpu_image_version
python
kserve/kserve
python/kserve/kserve/models/v1beta1_predictor_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_predictor_config.py
Apache-2.0
def default_image_version(self, default_image_version): """Sets the default_image_version of this V1beta1PredictorConfig. default predictor docker image version on cpu # noqa: E501 :param default_image_version: The default_image_version of this V1beta1PredictorConfig. # noqa: E501 :t...
Sets the default_image_version of this V1beta1PredictorConfig. default predictor docker image version on cpu # noqa: E501 :param default_image_version: The default_image_version of this V1beta1PredictorConfig. # noqa: E501 :type: str
default_image_version
python
kserve/kserve
python/kserve/kserve/models/v1beta1_predictor_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_predictor_config.py
Apache-2.0
def image(self, image): """Sets the image of this V1beta1PredictorConfig. predictor docker image name # noqa: E501 :param image: The image of this V1beta1PredictorConfig. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and image is ...
Sets the image of this V1beta1PredictorConfig. predictor docker image name # noqa: E501 :param image: The image of this V1beta1PredictorConfig. # noqa: E501 :type: str
image
python
kserve/kserve
python/kserve/kserve/models/v1beta1_predictor_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_predictor_config.py
Apache-2.0
def supported_frameworks(self, supported_frameworks): """Sets the supported_frameworks of this V1beta1PredictorConfig. frameworks the model agent is able to run # noqa: E501 :param supported_frameworks: The supported_frameworks of this V1beta1PredictorConfig. # noqa: E501 :type: list...
Sets the supported_frameworks of this V1beta1PredictorConfig. frameworks the model agent is able to run # noqa: E501 :param supported_frameworks: The supported_frameworks of this V1beta1PredictorConfig. # noqa: E501 :type: list[str]
supported_frameworks
python
kserve/kserve
python/kserve/kserve/models/v1beta1_predictor_config.py
https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1beta1_predictor_config.py
Apache-2.0