Here are the examples of the python api sqlalchemy.REAL taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
View Complete Implementation : b825165870d9_add_weights_to_comment_tags.py
Copyright GNU Affero General Public License v3.0
Author : spectria
Copyright GNU Affero General Public License v3.0
Author : spectria
def upgrade():
op.add_column(
"comment_tags",
sa.Column("weight", sa.REAL(), server_default=sa.text("1.0"), nullable=False),
)
op.add_column("users", sa.Column("comment_tag_weight", sa.REAL(), nullable=True))