diff --git a/taskflow/utils/lock_utils.py b/taskflow/utils/lock_utils.py index 7f6a91bf..942e27bb 100644 --- a/taskflow/utils/lock_utils.py +++ b/taskflow/utils/lock_utils.py @@ -262,7 +262,7 @@ class DummyReaderWriterLock(_ReaderWriterLockBase): def is_reader(self): return False - def is_writer(self): + def is_writer(self, check_pending=True): return False @property