Skip to content

Commit

Permalink
chore: black
Browse files Browse the repository at this point in the history
  • Loading branch information
madlabman committed May 9, 2024
1 parent 7e2a117 commit 0e16902
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/ipfs/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ def provider(self) -> T:


class SupportsRetries(Protocol):

@property
def retries(self) -> int: ...
def retries(self) -> int:
...


class MaxRetryError(IPFSError):
Expand Down Expand Up @@ -74,7 +74,7 @@ class MultiIPFSProvider(IPFSProvider, MultiProvider[IPFSProvider]):

# NOTE: The provider is NOT thread-safe.

def __init__(self, providers: Iterable[IPFSProvider], * ,retries: int = 3) -> None:
def __init__(self, providers: Iterable[IPFSProvider], *, retries: int = 3) -> None:
super().__init__()
self.retries = retries
self.providers = list(providers)
Expand Down

0 comments on commit 0e16902

Please sign in to comment.