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
Return None for unknown pieces of metadata #5126
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cadair
reviewed
Mar 22, 2021
nabobalis
added
the
No Backport
A PR that isn't to be backported to any release branch. (To be used as a flag to other maintainers)
label
Mar 22, 2021
dstansby
force-pushed
the
map-defaults
branch
2 times, most recently
from
March 28, 2021 11:26
71ae874
to
3ef9176
Compare
Cadair
reviewed
Mar 29, 2021
Cadair
approved these changes
Mar 29, 2021
The CI needs fixing but the changes look good. |
Anyone got any ideas why my attempt at ignoring the warning didn't work? |
dstansby
force-pushed
the
map-defaults
branch
3 times, most recently
from
March 30, 2021 17:02
8328f67
to
b56c04d
Compare
nabobalis
approved these changes
Mar 30, 2021
Cadair
reviewed
Mar 31, 2021
Cadair
approved these changes
Mar 31, 2021
dstansby
force-pushed
the
map-defaults
branch
2 times, most recently
from
March 31, 2021 16:37
7db13d0
to
6407a4f
Compare
@Cadair can you remember what we decided to do if
|
I would go for quantity with dimensionless units. I think thats what happens at the moment in this code anyway. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
map
Affects the map submodule
No Backport
A PR that isn't to be backported to any release branch. (To be used as a flag to other maintainers)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
xref #5124 (comment). I have always wondered why these return default values when they are unknown. Instead, return
None
. This is a breaking change, but I think fine as long as we document it well? Opinions very welcome.