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 user(self, user):
"""Sets the user of this KnativeURL.
:param user: The user of this KnativeURL. # noqa: E501
:type: NetUrlUserinfo
"""
if self.local_vars_configuration.client_side_validation and user is None: # noqa: E501
raise ValueError("Invalid value for `... | Sets the user of this KnativeURL.
:param user: The user of this KnativeURL. # noqa: E501
:type: NetUrlUserinfo
| user | python | kserve/kserve | python/kserve/kserve/models/knative_url.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_url.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/knative_url.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_url.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, KnativeURL):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/knative_url.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_url.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, KnativeURL):
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/knative_url.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_url.py | Apache-2.0 |
def time(self, time):
"""Sets the time of this KnativeVolatileTime.
:param time: The time of this KnativeVolatileTime. # noqa: E501
:type: datetime
"""
if self.local_vars_configuration.client_side_validation and time is None: # noqa: E501
raise ValueError("Invalid... | Sets the time of this KnativeVolatileTime.
:param time: The time of this KnativeVolatileTime. # noqa: E501
:type: datetime
| time | python | kserve/kserve | python/kserve/kserve/models/knative_volatile_time.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_volatile_time.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/knative_volatile_time.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_volatile_time.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, KnativeVolatileTime):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/knative_volatile_time.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_volatile_time.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, KnativeVolatileTime):
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/knative_volatile_time.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/knative_volatile_time.py | Apache-2.0 |
def password(self, password):
"""Sets the password of this NetUrlUserinfo.
:param password: The password of this NetUrlUserinfo. # noqa: E501
:type: str
"""
if password is None:
raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501
... | Sets the password of this NetUrlUserinfo.
:param password: The password of this NetUrlUserinfo. # noqa: E501
:type: str
| password | python | kserve/kserve | python/kserve/kserve/models/net_url_userinfo.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/net_url_userinfo.py | Apache-2.0 |
def password_set(self, password_set):
"""Sets the password_set of this NetUrlUserinfo.
:param password_set: The password_set of this NetUrlUserinfo. # noqa: E501
:type: bool
"""
if password_set is None:
raise ValueError("Invalid value for `password_set`, must not b... | Sets the password_set of this NetUrlUserinfo.
:param password_set: The password_set of this NetUrlUserinfo. # noqa: E501
:type: bool
| password_set | python | kserve/kserve | python/kserve/kserve/models/net_url_userinfo.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/net_url_userinfo.py | Apache-2.0 |
def username(self, username):
"""Sets the username of this NetUrlUserinfo.
:param username: The username of this NetUrlUserinfo. # noqa: E501
:type: str
"""
if username is None:
raise ValueError("Invalid value for `username`, must not be `None`") # noqa: E501
... | Sets the username of this NetUrlUserinfo.
:param username: The username of this NetUrlUserinfo. # noqa: E501
:type: str
| username | python | kserve/kserve | python/kserve/kserve/models/net_url_userinfo.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/net_url_userinfo.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/net_url_userinfo.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/net_url_userinfo.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, NetUrlUserinfo):
return False
return self.__dict__ == other.__dict__ | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/net_url_userinfo.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/net_url_userinfo.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/v1alpha1_built_in_adapter.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_built_in_adapter.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1BuiltInAdapter):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_built_in_adapter.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_built_in_adapter.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1BuiltInAdapter):
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/v1alpha1_built_in_adapter.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_built_in_adapter.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/v1alpha1_cluster_serving_runtime.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_serving_runtime.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1ClusterServingRuntime):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_cluster_serving_runtime.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_serving_runtime.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1ClusterServingRuntime):
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/v1alpha1_cluster_serving_runtime.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_serving_runtime.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1ClusterServingRuntimeList.
:param items: The items of this V1alpha1ClusterServingRuntimeList. # noqa: E501
:type: list[V1alpha1ClusterServingRuntime]
"""
if self.local_vars_configuration.client_side_validation and items... | Sets the items of this V1alpha1ClusterServingRuntimeList.
:param items: The items of this V1alpha1ClusterServingRuntimeList. # noqa: E501
:type: list[V1alpha1ClusterServingRuntime]
| items | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_cluster_serving_runtime_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_serving_runtime_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/v1alpha1_cluster_serving_runtime_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_serving_runtime_list.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1ClusterServingRuntimeList):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_cluster_serving_runtime_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_serving_runtime_list.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1ClusterServingRuntimeList):
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/v1alpha1_cluster_serving_runtime_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_serving_runtime_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/v1alpha1_cluster_storage_container.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_storage_container.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1ClusterStorageContainer):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_cluster_storage_container.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_storage_container.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1ClusterStorageContainer):
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/v1alpha1_cluster_storage_container.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_storage_container.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1ClusterStorageContainerList.
:param items: The items of this V1alpha1ClusterStorageContainerList. # noqa: E501
:type: list[V1alpha1ClusterStorageContainer]
"""
if self.local_vars_configuration.client_side_validation and... | Sets the items of this V1alpha1ClusterStorageContainerList.
:param items: The items of this V1alpha1ClusterStorageContainerList. # noqa: E501
:type: list[V1alpha1ClusterStorageContainer]
| items | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_cluster_storage_container_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_storage_container_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/v1alpha1_cluster_storage_container_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_storage_container_list.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1ClusterStorageContainerList):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_cluster_storage_container_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_storage_container_list.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1ClusterStorageContainerList):
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/v1alpha1_cluster_storage_container_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_cluster_storage_container_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/v1alpha1_container.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_container.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1Container):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_container.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_container.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1Container):
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/v1alpha1_container.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_container.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/v1alpha1_inference_graph.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1InferenceGraph):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_graph.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1InferenceGraph):
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/v1alpha1_inference_graph.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1InferenceGraphList.
:param items: The items of this V1alpha1InferenceGraphList. # noqa: E501
:type: list[V1alpha1InferenceGraph]
"""
if self.local_vars_configuration.client_side_validation and items is None: # noqa: E5... | Sets the items of this V1alpha1InferenceGraphList.
:param items: The items of this V1alpha1InferenceGraphList. # noqa: E501
:type: list[V1alpha1InferenceGraph]
| items | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_graph_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_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/v1alpha1_inference_graph_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_list.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1InferenceGraphList):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_graph_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_list.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1InferenceGraphList):
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/v1alpha1_inference_graph_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_list.py | Apache-2.0 |
def nodes(self, nodes):
"""Sets the nodes of this V1alpha1InferenceGraphSpec.
Map of InferenceGraph router nodes Each node defines the router which can be different routing types # noqa: E501
:param nodes: The nodes of this V1alpha1InferenceGraphSpec. # noqa: E501
:type: dict(str, V1... | Sets the nodes of this V1alpha1InferenceGraphSpec.
Map of InferenceGraph router nodes Each node defines the router which can be different routing types # noqa: E501
:param nodes: The nodes of this V1alpha1InferenceGraphSpec. # noqa: E501
:type: dict(str, V1alpha1InferenceRouter)
| nodes | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_graph_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_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/v1alpha1_inference_graph_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_spec.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1InferenceGraphSpec):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_graph_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_spec.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1InferenceGraphSpec):
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/v1alpha1_inference_graph_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_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/v1alpha1_inference_graph_status.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_status.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1InferenceGraphStatus):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_graph_status.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_status.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1InferenceGraphStatus):
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/v1alpha1_inference_graph_status.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_graph_status.py | Apache-2.0 |
def router_type(self, router_type):
"""Sets the router_type of this V1alpha1InferenceRouter.
RouterType - `Sequence:` chain multiple inference steps with input/output from previous step - `Splitter:` randomly routes to the target service according to the weight - `Ensemble:` routes the request to mu... | Sets the router_type of this V1alpha1InferenceRouter.
RouterType - `Sequence:` chain multiple inference steps with input/output from previous step - `Splitter:` randomly routes to the target service according to the weight - `Ensemble:` routes the request to multiple models and then merge the responses - `... | router_type | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_router.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_router.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/v1alpha1_inference_router.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_router.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1InferenceRouter):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_router.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_router.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1InferenceRouter):
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/v1alpha1_inference_router.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_router.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/v1alpha1_inference_step.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_step.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1InferenceStep):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_step.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_step.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1InferenceStep):
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/v1alpha1_inference_step.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_step.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/v1alpha1_inference_target.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_target.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1InferenceTarget):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_inference_target.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_target.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1InferenceTarget):
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/v1alpha1_inference_target.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_inference_target.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/v1alpha1_local_model_cache.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelCache):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_cache.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelCache):
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/v1alpha1_local_model_cache.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1LocalModelCacheList.
:param items: The items of this V1alpha1LocalModelCacheList. # noqa: E501
:type: list[V1alpha1LocalModelCache]
"""
if self.local_vars_configuration.client_side_validation and items is None: # noqa:... | Sets the items of this V1alpha1LocalModelCacheList.
:param items: The items of this V1alpha1LocalModelCacheList. # noqa: E501
:type: list[V1alpha1LocalModelCache]
| items | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_cache_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_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/v1alpha1_local_model_cache_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_list.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelCacheList):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_cache_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_list.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelCacheList):
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/v1alpha1_local_model_cache_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_list.py | Apache-2.0 |
def model_size(self, model_size):
"""Sets the model_size of this V1alpha1LocalModelCacheSpec.
:param model_size: The model_size of this V1alpha1LocalModelCacheSpec. # noqa: E501
:type: ResourceQuantity
"""
if self.local_vars_configuration.client_side_validation and model_size ... | Sets the model_size of this V1alpha1LocalModelCacheSpec.
:param model_size: The model_size of this V1alpha1LocalModelCacheSpec. # noqa: E501
:type: ResourceQuantity
| model_size | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | Apache-2.0 |
def node_groups(self, node_groups):
"""Sets the node_groups of this V1alpha1LocalModelCacheSpec.
group of nodes to cache the model on. Todo: support more than 1 node groups # noqa: E501
:param node_groups: The node_groups of this V1alpha1LocalModelCacheSpec. # noqa: E501
:type: list[... | Sets the node_groups of this V1alpha1LocalModelCacheSpec.
group of nodes to cache the model on. Todo: support more than 1 node groups # noqa: E501
:param node_groups: The node_groups of this V1alpha1LocalModelCacheSpec. # noqa: E501
:type: list[str]
| node_groups | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | Apache-2.0 |
def source_model_uri(self, source_model_uri):
"""Sets the source_model_uri of this V1alpha1LocalModelCacheSpec.
Original StorageUri # noqa: E501
:param source_model_uri: The source_model_uri of this V1alpha1LocalModelCacheSpec. # noqa: E501
:type: str
"""
if self.loca... | Sets the source_model_uri of this V1alpha1LocalModelCacheSpec.
Original StorageUri # noqa: E501
:param source_model_uri: The source_model_uri of this V1alpha1LocalModelCacheSpec. # noqa: E501
:type: str
| source_model_uri | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_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/v1alpha1_local_model_cache_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelCacheSpec):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_spec.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelCacheSpec):
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/v1alpha1_local_model_cache_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_cache_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/v1alpha1_local_model_node.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelNode):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelNode):
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/v1alpha1_local_model_node.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node.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/v1alpha1_local_model_node_group.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelNodeGroup):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_group.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelNodeGroup):
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/v1alpha1_local_model_node_group.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1LocalModelNodeGroupList.
:param items: The items of this V1alpha1LocalModelNodeGroupList. # noqa: E501
:type: list[V1alpha1LocalModelNodeGroup]
"""
if self.local_vars_configuration.client_side_validation and items is No... | Sets the items of this V1alpha1LocalModelNodeGroupList.
:param items: The items of this V1alpha1LocalModelNodeGroupList. # noqa: E501
:type: list[V1alpha1LocalModelNodeGroup]
| items | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_group_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_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/v1alpha1_local_model_node_group_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_list.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelNodeGroupList):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_group_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_list.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelNodeGroupList):
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/v1alpha1_local_model_node_group_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_list.py | Apache-2.0 |
def persistent_volume_claim_spec(self, persistent_volume_claim_spec):
"""Sets the persistent_volume_claim_spec of this V1alpha1LocalModelNodeGroupSpec.
:param persistent_volume_claim_spec: The persistent_volume_claim_spec of this V1alpha1LocalModelNodeGroupSpec. # noqa: E501
:type: V1Persiste... | Sets the persistent_volume_claim_spec of this V1alpha1LocalModelNodeGroupSpec.
:param persistent_volume_claim_spec: The persistent_volume_claim_spec of this V1alpha1LocalModelNodeGroupSpec. # noqa: E501
:type: V1PersistentVolumeClaimSpec
| persistent_volume_claim_spec | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_group_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_spec.py | Apache-2.0 |
def persistent_volume_spec(self, persistent_volume_spec):
"""Sets the persistent_volume_spec of this V1alpha1LocalModelNodeGroupSpec.
:param persistent_volume_spec: The persistent_volume_spec of this V1alpha1LocalModelNodeGroupSpec. # noqa: E501
:type: V1PersistentVolumeSpec
"""
... | Sets the persistent_volume_spec of this V1alpha1LocalModelNodeGroupSpec.
:param persistent_volume_spec: The persistent_volume_spec of this V1alpha1LocalModelNodeGroupSpec. # noqa: E501
:type: V1PersistentVolumeSpec
| persistent_volume_spec | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_group_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_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/v1alpha1_local_model_node_group_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_spec.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelNodeGroupSpec):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_group_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_spec.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelNodeGroupSpec):
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/v1alpha1_local_model_node_group_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_group_spec.py | Apache-2.0 |
def items(self, items):
"""Sets the items of this V1alpha1LocalModelNodeList.
:param items: The items of this V1alpha1LocalModelNodeList. # noqa: E501
:type: list[V1alpha1LocalModelNode]
"""
if self.local_vars_configuration.client_side_validation and items is None: # noqa: E5... | Sets the items of this V1alpha1LocalModelNodeList.
:param items: The items of this V1alpha1LocalModelNodeList. # noqa: E501
:type: list[V1alpha1LocalModelNode]
| items | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_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/v1alpha1_local_model_node_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_list.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelNodeList):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_list.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelNodeList):
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/v1alpha1_local_model_node_list.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_list.py | Apache-2.0 |
def local_models(self, local_models):
"""Sets the local_models of this V1alpha1LocalModelNodeSpec.
List of model source URI and their names # noqa: E501
:param local_models: The local_models of this V1alpha1LocalModelNodeSpec. # noqa: E501
:type: list[V1alpha1LocalModelInfo]
... | Sets the local_models of this V1alpha1LocalModelNodeSpec.
List of model source URI and their names # noqa: E501
:param local_models: The local_models of this V1alpha1LocalModelNodeSpec. # noqa: E501
:type: list[V1alpha1LocalModelInfo]
| local_models | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_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/v1alpha1_local_model_node_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_spec.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1LocalModelNodeSpec):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_local_model_node_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_spec.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1LocalModelNodeSpec):
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/v1alpha1_local_model_node_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_local_model_node_spec.py | Apache-2.0 |
def framework(self, framework):
"""Sets the framework of this V1alpha1ModelSpec.
Machine Learning <framework name> The values could be: \"tensorflow\",\"pytorch\",\"sklearn\",\"onnx\",\"xgboost\", \"myawesomeinternalframework\" etc. # noqa: E501
:param framework: The framework of this V1alpha... | Sets the framework of this V1alpha1ModelSpec.
Machine Learning <framework name> The values could be: "tensorflow","pytorch","sklearn","onnx","xgboost", "myawesomeinternalframework" etc. # noqa: E501
:param framework: The framework of this V1alpha1ModelSpec. # noqa: E501
:type: str
| framework | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_model_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_model_spec.py | Apache-2.0 |
def memory(self, memory):
"""Sets the memory of this V1alpha1ModelSpec.
:param memory: The memory of this V1alpha1ModelSpec. # noqa: E501
:type: ResourceQuantity
"""
if self.local_vars_configuration.client_side_validation and memory is None: # noqa: E501
raise Val... | Sets the memory of this V1alpha1ModelSpec.
:param memory: The memory of this V1alpha1ModelSpec. # noqa: E501
:type: ResourceQuantity
| memory | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_model_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_model_spec.py | Apache-2.0 |
def storage_uri(self, storage_uri):
"""Sets the storage_uri of this V1alpha1ModelSpec.
Storage URI for the model repository # noqa: E501
:param storage_uri: The storage_uri of this V1alpha1ModelSpec. # noqa: E501
:type: str
"""
if self.local_vars_configuration.client_... | Sets the storage_uri of this V1alpha1ModelSpec.
Storage URI for the model repository # noqa: E501
:param storage_uri: The storage_uri of this V1alpha1ModelSpec. # noqa: E501
:type: str
| storage_uri | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_model_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_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/v1alpha1_model_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_model_spec.py | Apache-2.0 |
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V1alpha1ModelSpec):
return False
return self.to_dict() == other.to_dict() | Returns true if both objects are equal | __eq__ | python | kserve/kserve | python/kserve/kserve/models/v1alpha1_model_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_model_spec.py | Apache-2.0 |
def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, V1alpha1ModelSpec):
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/v1alpha1_model_spec.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_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/v1alpha1_serving_runtime.py | https://github.com/kserve/kserve/blob/master/python/kserve/kserve/models/v1alpha1_serving_runtime.py | Apache-2.0 |
Subsets and Splits
Django Code with Docstrings
Filters Python code examples from Django repository that contain Django-related code, helping identify relevant code snippets for understanding Django framework usage patterns.
SQL Console for Shuu12121/python-treesitter-filtered-datasetsV2
Retrieves specific code examples from the Flask repository but doesn't provide meaningful analysis or patterns beyond basic data retrieval.
HTTPX Repo Code and Docstrings
Retrieves specific code examples from the httpx repository, which is useful for understanding how particular libraries are used but doesn't provide broader analytical insights about the dataset.
Requests Repo Docstrings & Code
Retrieves code examples with their docstrings and file paths from the requests repository, providing basic filtering but limited analytical value beyond finding specific code samples.
Quart Repo Docstrings & Code
Retrieves code examples with their docstrings from the Quart repository, providing basic code samples but offering limited analytical value for understanding broader patterns or relationships in the dataset.