Here are the examples of the python api sqlalchemy.Text.with_variant taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
View Complete Implementation : types.py
Copyright Apache License 2.0
Author : openstack
Copyright Apache License 2.0
Author : openstack
def LongText():
# TODO(rakhmerov): Need to do for postgres.
return sa.Text().with_variant(mysql.LONGTEXT(), 'mysql')
0
View Complete Implementation : 10d65e285a59_create_volume_mapping_table.py
Copyright Apache License 2.0
Author : openstack
Copyright Apache License 2.0
Author : openstack
def MediumText():
return sa.Text().with_variant(dialects.mysql.MEDIUMTEXT(), 'mysql')
0
View Complete Implementation : models.py
Copyright Apache License 2.0
Author : openstack
Copyright Apache License 2.0
Author : openstack
def MediumText():
return Text().with_variant(MEDIUMTEXT(), 'mysql')