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
2929 allowing it to be closed automatically when it goes out of scope).
3030#) Fixed bug when calling :meth: `Subscription.registerquery() ` with bind
3131 values.
32+ #) Fixed bug that caused :data: `Message.dbname ` to always be the value `None `.
3233
3334Common Changes
3435++++++++++++++
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ class Message:
161161 def __init__ (self , subscription : Subscription ) -> None :
162162 self ._subscription = subscription
163163 self ._consumer_name = None
164- self ._db_name = None
164+ self ._dbname = None
165165 self ._queries = []
166166 self ._queue_name = None
167167 self ._registered = False
@@ -192,7 +192,7 @@ def dbname(self) -> Union[str, None]:
192192 """
193193 Returns the name of the database that generated the notification.
194194 """
195- return self ._db_name
195+ return self ._dbname
196196
197197 @property
198198 def msgid (self ) -> Union [bytes , None ]:
You can’t perform that action at this time.
0 commit comments