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

frictionlessdata / tableschema-py / 789
91%

Build:
DEFAULT BRANCH: master
Ran 10 Dec 2019 03:25PM UTC
Jobs 4
Files 76
Run time 30s
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
789

push

travis-ci

roll
Support optional custom exception handling for table.iter/read (#259)

* Add optional exc_handler argument to Table.iter() + Table.read().

This adds the possibility for "fail-late" data validation behaviour, with
extensive tests. Adds
- said option to Table.iter() + Table.read() and Schema.cast_row()
- optional row_number argument to Schema.cast_row for better error messages
- specialized Exception classes for Foreign key and unique key errors
- test data files for checking proper stream closing

* Fix pylama errors reported by travis.

* Enhance custom exception handler error reporting for failed field casts.

Now, only the invalid fields are handed to the exception handler callable
as error_data, instead of the full row. Comes with appropriate tests.

* Document custom exception handler feature and supporting changes.

Includes
- custom exc. handler introduction in Table section
- read()/iter() exc_handler param documentation
- new exception subclass documentation
- FailedCast reference doc
- sample data file corresponding to the intro docs
- (plus some minor type corrections)

* Fix typo.

2410 of 2634 relevant lines covered (91.5%)

3.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 789.1 10 Dec 2019 03:25PM UTC 0
91.43
Travis Job 789.1
2 789.2 10 Dec 2019 03:25PM UTC 0
91.27
Travis Job 789.2
3 789.3 10 Dec 2019 03:25PM UTC 0
91.27
Travis Job 789.3
4 789.4 10 Dec 2019 03:26PM UTC 0
91.49
Travis Job 789.4
Source Files on build 789
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #789
  • a87951c9 on github
  • Prev Build on master (#788)
  • Next Build on master (#790)
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