def is_number(value):

    if value is None:
        return

    if not isinstance(value, (int, float)):
        return c('number')
Execute after a transaction is begun on a connection
dataset/ETHPy150Open heiskr/sagefy/server/modules/validations.py/is_number--crossover with--dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/orm/deprecated_interfaces.py/SessionExtension.after_begin