def connect(self, connection_config=None, *args, **kwargs):
if self.connected: return self.connected<EOL>if connection_config: self.connection_config = connection_config<EOL>self.connected = True<EOL>try:<EOL><INDENT>self._connect(self.connection_config)<EOL><DEDENT>except Exception as e:<EOL><INDENT>self.connected = False<EOL>self.raise_error(e)<EOL><DEDENT>self.log("<STR_LIT>", self.connection_config.interface_name)<EOL>return self.connected<EOL>
connect to the interface

this will set the raw db connection to self.connection

*args -- anything you want that will help the db connect
**kwargs -- anything you want that the backend db connection will need to actually connect