Skip to content

Commit

Permalink
Fix pyright error when importing from distributed (#6904)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianliu authored Aug 24, 2022
1 parent c15a10e commit 599708e
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions distributed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,65 @@ def _():
"""
global _python_shutting_down
_python_shutting_down = True


__all__ = [
"Actor",
"ActorFuture",
"Adaptive",
"BaseActorFuture",
"CancelledError",
"Client",
"CompatibleExecutor",
"Environ",
"Event",
"Future",
"KilledWorker",
"LocalCluster",
"Lock",
"MultiLock",
"Nanny",
"NannyPlugin",
"PipInstall",
"Pub",
"Queue",
"Reschedule",
"SSHCluster",
"Scheduler",
"SchedulerPlugin",
"Security",
"Semaphore",
"SpecCluster",
"Status",
"Sub",
"TimeoutError",
"UploadDirectory",
"UploadFile",
"Variable",
"Worker",
"WorkerPlugin",
"as_completed",
"config",
"connect",
"dask",
"default_client",
"fire_and_forget",
"futures_of",
"get_client",
"get_task_metadata",
"get_task_stream",
"get_versions",
"get_worker",
"local_client",
"performance_report",
"print",
"progress",
"rejoin",
"rpc",
"secede",
"sync",
"wait",
"warn",
"widgets",
"worker_client",
]

0 comments on commit 599708e

Please sign in to comment.