#NEWLINE# @ classmethod #NEWLINE# def _cursor( self ) : #NEWLINE# #INDENT# '\n        Returns a psycopg2 DictCursor\n\n        ' #NEWLINE# cur = self . conn . cursor ( cursor_factory = DictCursor ) #NEWLINE# register_type ( UNICODE , cur ) #NEWLINE# return cur