Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make KeyError from 'get_metadata' more flexible. #339

Merged
merged 1 commit into from
Nov 4, 2014
Merged

Make KeyError from 'get_metadata' more flexible. #339

merged 1 commit into from
Nov 4, 2014

Commits on Nov 4, 2014

  1. Make KeyError from 'get_metadata' more flexible.

    Allow subclasses to define a 'CUSTOM_METADATA_FIELDS' mapping which
    maps field name -> accessor name, and use it to generate more meaningful
    error message when raising KeyError for those fields.
    tseaver committed Nov 4, 2014
    Configuration menu
    Copy the full SHA
    8b32e34 View commit details
    Browse the repository at this point in the history