PR feedback

This commit is contained in:
Chih Cheng Liang
2019-08-02 14:12:59 +08:00
parent e731f77f2d
commit 10a8347c6a
4 changed files with 12 additions and 11 deletions

View File

@ -67,11 +67,11 @@ class SimpleSecureConn(ISecureConn):
self.details = cast("TSecurityDetails", {})
self.details["key_phrase"] = key_phrase
def get_conn(self) -> "ISecureConn":
def get_conn(self) -> "IRawConnection":
"""
:return: connection object that has been made secure
"""
return cast("ISecureConn", self.conn)
return self.conn
def get_security_details(self) -> "TSecurityDetails":
"""