mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Summary: "check" is already binded https://fburl.com/code/9lx1zf9o which is also documented in https://docs.pytorch.org/docs/stable/distributed.html add it to pyi for type checking Test Plan: skip Rollback Plan: Differential Revision: D76547457 Pull Request resolved: https://github.com/pytorch/pytorch/pull/155865 Approved by: https://github.com/fduwjj
This commit is contained in:
committed by
PyTorch MergeBot
parent
bee93f9f0d
commit
a5938ff431
@ -186,6 +186,7 @@ class Store:
|
||||
def set(self, key: str, value: str): ...
|
||||
def get(self, key: str) -> bytes: ...
|
||||
def add(self, key: str, value: int) -> int: ...
|
||||
def check(self, keys: list[str]) -> bool: ...
|
||||
def compare_set(
|
||||
self,
|
||||
key: str,
|
||||
|
Reference in New Issue
Block a user