Skip to content

Commit

Permalink
fix: revert task.pyx (#429)
Browse files Browse the repository at this point in the history
* fix: revert task.pyx

* fix: broken import

* fix: broken import

* chore: `black .`

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
BobTheBuidler and github-actions[bot] authored Nov 23, 2024
1 parent c8e7b4d commit e37cb7d
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 326 deletions.
9 changes: 9 additions & 0 deletions a_sync/primitives/locks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@
Semaphore,
ThreadsafeSemaphore,
)

__all__ = [
"Event",
"Semaphore",
"PrioritySemaphore",
"CounterLock",
"ThreadsafeSemaphore",
"DummySemaphore",
]
2 changes: 1 addition & 1 deletion a_sync/primitives/locks/counter.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from _typeshed import Incomplete
from a_sync.primitives._debug import _DebugDaemonMixin
from a_sync.primitives.locks.event import Event as Event
from a_sync.primitives.locks import Event
from typing import Iterable, Optional

class CounterLock(_DebugDaemonMixin):
Expand Down
Loading

0 comments on commit e37cb7d

Please sign in to comment.