File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ Thick Mode Changes
29
29
allowing it to be closed automatically when it goes out of scope).
30
30
#) Fixed bug when calling :meth: `Subscription.registerquery() ` with bind
31
31
values.
32
+ #) Fixed bug that caused :data: `Message.dbname ` to always be the value `None `.
32
33
33
34
Common Changes
34
35
++++++++++++++
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ class Message:
161
161
def __init__ (self , subscription : Subscription ) -> None :
162
162
self ._subscription = subscription
163
163
self ._consumer_name = None
164
- self ._db_name = None
164
+ self ._dbname = None
165
165
self ._queries = []
166
166
self ._queue_name = None
167
167
self ._registered = False
@@ -192,7 +192,7 @@ def dbname(self) -> Union[str, None]:
192
192
"""
193
193
Returns the name of the database that generated the notification.
194
194
"""
195
- return self ._db_name
195
+ return self ._dbname
196
196
197
197
@property
198
198
def msgid (self ) -> Union [bytes , None ]:
You can’t perform that action at this time.
0 commit comments