Skip to content

Commit 2497b7b

Browse files
authored
Merge pull request #132 from pksadiq/wip/sadiq/fix-auth-plugin-name
fix: 'Connection' object has no attribute '_auth_plugin_name'
2 parents dbbaaab + 1d64a08 commit 2497b7b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## 0.2
44

5+
### 0.2.11
6+
7+
- Fix `'Connection' object has no attribute '_auth_plugin_name'` (#86)
8+
59
### 0.2.10
610

711
- Fix ssl context pass bool.

asyncmy/connection.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ class Connection:
297297
self._reader: Optional[StreamReader] = None
298298
self._writer: Optional[StreamWriter] = None
299299

300+
self._auth_plugin_name = ""
301+
300302
def _create_ssl_ctx(self, sslp):
301303
if isinstance(sslp, ssl.SSLContext):
302304
return sslp

0 commit comments

Comments
 (0)