def write_simpletypes_imports(wrtmodels, simpletypes_set):
    """write simple types imports from sqlalchemy to model"""
    wrtmodels('from sqlalchemy import Table, Column, MetaData, ForeignKey, ')
    types_string = ''
    for simpletype in simpletypes_set:
        types_string = '%s%s, ' % (types_string, simpletype)
    if types_string:
        types_string = types_string[:-2]
    wrtmodels(types_string)
    wrtmodels('\n')
    return
