MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / SecurePassword

Class SecurePassword

test/engine/test_parseconnect.py:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174
175 def test_password_custom_obj(self):
176 class SecurePassword(str):
177 def __init__(self, value):
178 self.value = value
179
180 def __str__(self):
181 return self.value
182
183 sp = SecurePassword("secured_password")
184 u = url.URL.create(

Callers 2

Calls

no outgoing calls

Tested by 2