Skip to content

Commit a692d78

Browse files
authored
v1.0.1 Release (#10)
1 parent 309e3c3 commit a692d78

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

docs/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ <h1 class="title">Module <code>state_signals</code></h1>
572572
raise redis.ConnectionError
573573
self.subscriber = self.redis.pubsub(ignore_subscribe_messages=True)
574574
self.subscriber.subscribe(&#34;event-signal-pubsub&#34;)
575+
self.channel = self.subscriber.listen()
575576
self.responder_id = responder_name + &#34;-&#34; + str(uuid.uuid4()) + &#34;-resp&#34;
576577
self._locked_id = None
577578
self._locked_tag = None
@@ -622,7 +623,7 @@ <h1 class="title">Module <code>state_signals</code></h1>
622623
Yield all legal published signals. If a specific tag/published_id
623624
was locked, only signals with those matching values will be yielded.
624625
&#34;&#34;&#34;
625-
for item in self.subscriber.listen():
626+
for item in self.channel:
626627
data = self._parse_signal(item)
627628
if data and self._check_target(data):
628629
signal = Signal(**data)
@@ -1585,6 +1586,7 @@ <h3>Methods</h3>
15851586
raise redis.ConnectionError
15861587
self.subscriber = self.redis.pubsub(ignore_subscribe_messages=True)
15871588
self.subscriber.subscribe(&#34;event-signal-pubsub&#34;)
1589+
self.channel = self.subscriber.listen()
15881590
self.responder_id = responder_name + &#34;-&#34; + str(uuid.uuid4()) + &#34;-resp&#34;
15891591
self._locked_id = None
15901592
self._locked_tag = None
@@ -1635,7 +1637,7 @@ <h3>Methods</h3>
16351637
Yield all legal published signals. If a specific tag/published_id
16361638
was locked, only signals with those matching values will be yielded.
16371639
&#34;&#34;&#34;
1638-
for item in self.subscriber.listen():
1640+
for item in self.channel:
16391641
data = self._parse_signal(item)
16401642
if data and self._check_target(data):
16411643
signal = Signal(**data)
@@ -1712,7 +1714,7 @@ <h3>Methods</h3>
17121714
Yield all legal published signals. If a specific tag/published_id
17131715
was locked, only signals with those matching values will be yielded.
17141716
&#34;&#34;&#34;
1715-
for item in self.subscriber.listen():
1717+
for item in self.channel:
17161718
data = self._parse_signal(item)
17171719
if data and self._check_target(data):
17181720
signal = Signal(**data)

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 = "state-signals"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
description = "Package for easy management of state/event signal publishing, subscribing, and responding"
55

66
license = "GPL-3.0-only"

python-36/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="python36-state_signals",
6-
version="1.0.0",
6+
version="1.0.1",
77
description="Package for easy management of state/event signal publishing, subscribing, and responding",
88
url="https://github.com/distributed-system-analysis/state-signals/",
99
author="Mustafa Eyceoz",

python-latest/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="python3-state_signals",
6-
version="1.0.0",
6+
version="1.0.1",
77
description="Package for easy management of state/event signal publishing, subscribing, and responding",
88
url="https://github.com/distributed-system-analysis/state-signals/",
99
author="Mustafa Eyceoz",

0 commit comments

Comments
 (0)