Skip to content

Commit

Permalink
remove require kwarg from get_backend
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Mar 10, 2022
1 parent d0b29e1 commit b7aafde
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions distributed/comm/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,11 @@ def get_local_address_for(self, loc):
backends: dict[str, Backend] = {}


def get_backend(scheme: str, require: object = None) -> Backend:
def get_backend(scheme: str) -> Backend:
"""
Get the Backend instance for the given *scheme*.
It looks for matching scheme in dask's internal cache, and falls-back to
package metadata for the group name ``distributed.comm.backends``
Parameters
----------
require : object
Deprecated, previously verified that the backends requirements are
properly installed.
"""

backend = backends.get(scheme)
Expand Down

0 comments on commit b7aafde

Please sign in to comment.