python/kserve/test/test_v1beta1_model_spec.py
def make_instance(self, include_optional):
        """Test V1beta1ModelSpec
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = kserve.models.v1beta1_model_spec.V1beta1ModelSpec()  # noqa: E501
        if include_optional :
            return V1beta1ModelSpec(
                framework = '0', 
                memory = None, 
                storage_uri = '0'
            )
        else :
            return V1beta1ModelSpec(
                framework = '0',
                storage_uri = '0',
        )
Test V1beta1ModelSpec
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included 
Test V1beta1ModelSpec
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included
Test V1beta1ModelSpec include_option is a boolean when False only required params are included when True both required and optional params are included
def make_instance(self, include_optional):
        if include_optional :
            return V1beta1ModelSpec(
                framework = '0', 
                memory = None, 
                storage_uri = '0'
            )
        else :
            return V1beta1ModelSpec(
                framework = '0',
                storage_uri = '0',
        )
def make_instance ( self , include_optional ) : if include_optional : return V1beta1ModelSpec ( framework = '0' , memory = None , storage_uri = '0' ) else : return V1beta1ModelSpec ( framework = '0' , storage_uri = '0' , )
Test V1beta1ModelSpec
include_option is a boolean, when False only required
params are included, when True both required and
optional params are included
Test V1beta1ModelSpec include_option is a boolean when False only required params are included when True both required and optional params are included
"""Test V1beta1ModelSpec
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """ # model = kserve.models.v1beta1_model_spec.V1beta1ModelSpec()  # noqa: E501
self
include_optional