• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hypothesis / h / 8306
97%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2015 11:07AM UTC
Jobs 1
Files 84
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8306

push

travis-ci

nickstenning
Make sqlalchemy ignore old columns on INSERT/SELECT/UPDATE

These columns are going to be removed shortly. In 25ae155 we made them
nullable, in the hope that this would stop sqlalchemy from attempting to
set values in these columns. Unfortunately, that doesn't do it:
sqlalchemy continues to send explicit NULL values to these columns.

In order to get sqlalchemy to completely ignore these unused columns on
INSERT, on UPDATE and on SELECT, we have to:

- mark the `server_default` and `server_onupdate` values to be
  `FetchedValue()` -- this is usually used when a field is updated
  server-side by a trigger, and suppresses inclusion of the field in
  INSERTs and UPDATEs respectively:

  http://docs.sqlalchemy.org/en/rel_1_0/core/defaults.html#sqlalchemy.schema.FetchedValue

- mark the entire column as deferred, to prevent eager loading of these
  column values on SELECT:

  http://docs.sqlalchemy.org/en/rel_1_0/orm/loading_columns.html#deferred-column-loading

2333 of 3501 relevant lines covered (66.64%)

0.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8306.1 01 Oct 2015 11:07AM UTC 0
66.64
Travis Job 8306.1
Source Files on build 8306
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8306
  • 15ec1529 on github
  • Prev Build on master (#8304)
  • Next Build on master (#8309)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc