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

Fallback providers #49

Merged
merged 5 commits into from
May 31, 2023
Merged

Fallback providers #49

merged 5 commits into from
May 31, 2023

Conversation

fjarri
Copy link
Collaborator

@fjarri fjarri commented May 31, 2023

Fixes #17

Add FallbackProvider to merge several providers into one, and two strategies: CycleFallback and PriorityFallback

@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Merging #49 (2926290) into master (936625f) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master       #49    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files            9        10     +1     
  Lines         1541      1646   +105     
  Branches       266       283    +17     
==========================================
+ Hits          1541      1646   +105     
Impacted Files Coverage Δ
pons/_contract.py 100.00% <ø> (ø)
pons/__init__.py 100.00% <100.00%> (ø)
pons/_abi_types.py 100.00% <100.00%> (ø)
pons/_client.py 100.00% <100.00%> (ø)
pons/_entities.py 100.00% <100.00%> (ø)
pons/_fallback_provider.py 100.00% <100.00%> (ø)
pons/_provider.py 100.00% <100.00%> (ø)

@fjarri fjarri merged commit 28e8d6f into master May 31, 2023
10 checks passed
@fjarri fjarri deleted the fallback-providers branch May 31, 2023 23:30
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.

Add a "multi-provider"
1 participant