Skip to content
New issue

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

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

Already on GitHub? # to your account

Add DataAPI.unwrap with default definition #35

Merged
merged 2 commits into from
Feb 14, 2021
Merged

Add DataAPI.unwrap with default definition #35

merged 2 commits into from
Feb 14, 2021

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Feb 14, 2021

@codecov
Copy link

codecov bot commented Feb 14, 2021

Codecov Report

Merging #35 (8523716) into main (4d8facd) will increase coverage by 0.39%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   90.90%   91.30%   +0.39%     
==========================================
  Files           1        1              
  Lines          22       23       +1     
==========================================
+ Hits           20       21       +1     
  Misses          2        2              
Impacted Files Coverage Δ
src/DataAPI.jl 91.30% <100.00%> (+0.39%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d8facd...a4576dc. Read the comment docs.

@bkamins
Copy link
Member

bkamins commented Feb 14, 2021

Thank you. Could you also bump a version of DataAPI.jl so that we could register it after merging? Thank you.

@@ -85,4 +85,9 @@ end

end

@testset "unwrap" begin
@test DataAPI.unwrap(1) === 1
@test DataAPI.unwrap(missing) === missing
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, clever: with that fallback we don't need to use passmissing(unwrap)!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

Copy link
Member

@nalimilan nalimilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@quinnj quinnj merged commit c46688c into main Feb 14, 2021
@quinnj quinnj deleted the jq/unwrap branch February 14, 2021 16:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants