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

Added a get() method to Record #402

Merged
merged 1 commit into from Dec 15, 2016

Conversation

Projects
None yet
2 participants
@dusktreader
Contributor

dusktreader commented Dec 2, 2016

Addresses issue #401

This method behaves like the get() method of python dictionaries.
Provided a key, it will attempt to fetch the value. If the key does
not exist, it returns a default value. This is None, unless the user
supplies a default value

Added a get() method to Record
  This method behaves like the get() method of python dictionaries.
  Provided a key, it will attempt to fetch the value. If the key does
  not exist, it returns a default value. This is None, unless the user
  supplies a default value
@dusktreader

This comment has been minimized.

Contributor

dusktreader commented Dec 12, 2016

@alimanfoo have you had a chance to look at this PR yet?

@alimanfoo alimanfoo merged commit ce06b63 into petl-developers:master Dec 15, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@alimanfoo

This comment has been minimized.

Collaborator

alimanfoo commented Dec 15, 2016

Looks great, thank you!

@alimanfoo alimanfoo added this to the v1.2 milestone Dec 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment