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

Allow overloading of container types #2570

Merged
merged 4 commits into from
May 11, 2021
Merged

Allow overloading of container types #2570

merged 4 commits into from
May 11, 2021

Conversation

odow
Copy link
Member

@odow odow commented Apr 21, 2021

There didn't seem to be a good reason to have the error.

This should make it easy to add AxisKeys as a backing type:
Closes #2523

And we now currently support <:AbstractDict, which avoids the need to make SparseAxisArray an AbstractDict:
Closes #2176

@odow odow added the Category: Containers Related to the Containers submodule label Apr 21, 2021
@codecov
Copy link

codecov bot commented Apr 21, 2021

Codecov Report

Merging #2570 (2c008eb) into master (2c2beb8) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2570      +/-   ##
==========================================
+ Coverage   93.37%   93.45%   +0.07%     
==========================================
  Files          44       44              
  Lines        5511     5514       +3     
==========================================
+ Hits         5146     5153       +7     
+ Misses        365      361       -4     
Impacted Files Coverage Δ
src/Containers/macro.jl 93.69% <ø> (-0.17%) ⬇️
src/Containers/container.jl 97.50% <100.00%> (+0.44%) ⬆️
src/Containers/vectorized_product_iterator.jl 95.23% <0.00%> (+19.04%) ⬆️

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 2c2beb8...2c008eb. Read the comment docs.

@odow odow requested a review from blegat April 21, 2021 21:41
@odow
Copy link
Member Author

odow commented Apr 29, 2021

@blegat how's this?

@odow odow merged commit 8062654 into master May 11, 2021
@odow odow deleted the od/container_dict branch May 11, 2021 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Containers Related to the Containers submodule
Development

Successfully merging this pull request may close these issues.

Replace Containers with an external package Should SparseAxisArray be an AbstractDict?
2 participants