inference_schema/parameter_types/spark_parameter_type.py
def _convert_ArrayType_to_swagger(cls, array_type):
        """
        Converts an ArrayType into a swagger valid type

        :param array_type:
        :type array_type: ArrayType
        :return: the converted swagger type.
        :rtype: dict
        """
        if not isinstance(array_type, ArrayType):
            raise TypeError("Invalid data type to convert: expected only valid pyspark.sql.types.ArrayType instances")
        element_schema = cls._convert_spark_schema_to_swagger(array_type.elementType)
        schema = {'type': 'array', 'items': element_schema}
        return schema

        Converts an ArrayType into a swagger valid type

        :param array_type:
        :type array_type: ArrayType
        :return: the converted swagger type.
        :rtype: dict
        
Converts an ArrayType into a swagger valid type
Converts an ArrayType into a swagger valid type
def _convert_ArrayType_to_swagger(cls, array_type):
        if not isinstance(array_type, ArrayType):
            raise TypeError("Invalid data type to convert: expected only valid pyspark.sql.types.ArrayType instances")
        element_schema = cls._convert_spark_schema_to_swagger(array_type.elementType)
        schema = {'type': 'array', 'items': element_schema}
        return schema
def _convert_ArrayType_to_swagger ( cls , array_type ) : if not isinstance ( array_type , ArrayType ) : raise TypeError ( "Invalid data type to convert: expected only valid pyspark.sql.types.ArrayType instances" ) element_schema = cls . _convert_spark_schema_to_swagger ( array_type . elementType ) schema = { 'type' : 'array' , 'items' : element_schema } return schema
Converts an ArrayType into a swagger valid type
Converts an ArrayType into a swagger valid type
"""
        Converts an ArrayType into a swagger valid type

        :param array_type:
        :type array_type: ArrayType
        :return: the converted swagger type.
        :rtype: dict
        """
the converted swagger type.
the converted swagger type .
dict
cls
array_type
None