azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def odata_converter(data, str_type):
        ''' Convert odata type
        http://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem
        To be completed
        '''
        if not str_type:
            return _str(data)
        if str_type in ["Edm.Single", "Edm.Double"]:
            return float(data)
        elif "Edm.Int" in str_type:
            return int(data)
        else:
            return _str(data)
def odata_converter(data, str_type):
        ''' Convert odata type
        http://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem
        To be completed
        '''
        if not str_type:
            return _str(data)
        if str_type in ["Edm.Single", "Edm.Double"]:
            return float(data)
        elif "Edm.Int" in str_type:
            return int(data)
        else:
            return _str(data)
def odata_converter ( data , str_type ) : if not str_type : return _str ( data ) if str_type in [ "Edm.Single" , "Edm.Double" ] : return float ( data ) elif "Edm.Int" in str_type : return int ( data ) else : return _str ( data )
Convert odata type
        http://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem
        To be completed
Convert odata type http : // www . odata . org / documentation / odata - version - 2 - 0 / overview#AbstractTypeSystem To be completed