Fix PYRE_MISSING_ANNOTATIONS issues in fbcode/deeplearning/projects/sam3_release/sam3/model/io_utils.py
Differential Revision: D104793065 fbshipit-source-id: 1e6d98ee42fb51acfa4b0ce4b9bbe1251363b3e0
This commit is contained in:
committed by
meta-codesync[bot]
parent
32f5f81ab9
commit
2814fa6194
@@ -512,7 +512,7 @@ class FIFOLock:
|
|||||||
self._condition.wait()
|
self._condition.wait()
|
||||||
# got the lock and it's our turn
|
# got the lock and it's our turn
|
||||||
|
|
||||||
def release(self):
|
def release(self) -> None:
|
||||||
with self._condition:
|
with self._condition:
|
||||||
self._lock.release()
|
self._lock.release()
|
||||||
self._waiters.get()
|
self._waiters.get()
|
||||||
|
|||||||
Reference in New Issue
Block a user