Skip to content

Commit 3b24676

Browse files
fix: self_workers in Store.__init__ -> local variable workers
fix: `self_workers` in `Store.__init__` -> local variable `workers` --------- Co-authored-by: Sassan Haradji <[email protected]>
1 parent af2406e commit 3b24676

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Version 0.10.5
4+
5+
- fix: `self_workers` in `Store.__init__` -> local variable `workers`
6+
37
## Version 0.10.4
48

59
- chore: GitHub workflow to publish pushes on `main` branch to PyPI

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-redux"
3-
version = "0.10.4"
3+
version = "0.10.5"
44
description = "Redux implementation for Python"
55
authors = ["Sassan Haradji <[email protected]>"]
66
license = "Apache-2.0"

redux/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ def __init__(
9191
self._event_handlers_queue = queue.Queue[
9292
tuple[EventHandler[Event], Event] | None
9393
]()
94-
self_workers = [
94+
workers = [
9595
_SideEffectRunnerThread(self._event_handlers_queue)
9696
for _ in range(self.store_options.threads)
9797
]
98-
for worker in self_workers:
98+
for worker in workers:
9999
worker.start()
100100

101101
self._is_running = Lock()

0 commit comments

Comments
 (0)