测试gitnore
This commit is contained in:
@@ -8,8 +8,8 @@ class ConnectionProxy:
|
||||
"""Proxy for accessing a connection object's attributes."""
|
||||
|
||||
def __init__(self, connections, alias):
|
||||
self.__dict__["_connections"] = connections
|
||||
self.__dict__["_alias"] = alias
|
||||
self.__dict__['_connections'] = connections
|
||||
self.__dict__['_alias'] = alias
|
||||
|
||||
def __getattr__(self, item):
|
||||
return getattr(self._connections[self._alias], item)
|
||||
@@ -51,7 +51,7 @@ class BaseConnectionHandler:
|
||||
return settings
|
||||
|
||||
def create_connection(self, alias):
|
||||
raise NotImplementedError("Subclasses must implement create_connection().")
|
||||
raise NotImplementedError('Subclasses must implement create_connection().')
|
||||
|
||||
def __getitem__(self, alias):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user