def connect(self):
        """
        Create a SQL Server connection and return a connection object
        """
        connection = _mssql.connect(user=self.user,
                                    password=self.password,
                                    server=self.host,
                                    port=self.port,
                                    database=self.database)
        return connection
def connect ( self ) : connection = _mssql . connect ( user = self . user , password = self . password , server = self . host , port = self . port , database = self . database ) return connection
Create a SQL Server connection and return a connection object