Skip to content

Adds Parameters.get function. - #404

Merged
tcr3dr merged 1 commit into
masterfrom
tcr-paramget
Nov 3, 2015
Merged

tcr3dr merged 1 commit into
masterfrom
tcr-paramget

Conversation

@tcr3dr

@tcr3dr tcr3dr commented Nov 3, 2015

Copy link
Copy Markdown
Contributor

This is an alternative to (but maybe not replacement for) #389 to allow you to explicitly define which behavior you want on parameter lookup.

You will receive None for values that a) do not exist or b) are not downloaded yet and wait_ready=False. This will not return a KeyError, mirroring the .get() semantics of Python's dicts.

tcr3dr added a commit that referenced this pull request Nov 3, 2015
Adds Parameters.get function.
@tcr3dr
tcr3dr merged commit 4c520de into master Nov 3, 2015
@tcr3dr
tcr3dr deleted the tcr-paramget branch November 3, 2015 20:32
@hamishwillee hamishwillee mentioned this pull request Nov 4, 2015
23 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant