Created
July 23, 2019 08:19
-
-
Save cyplp/753208df85fdc45a71d16297f95e3bf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@property | |
def _cursor(self): | |
return conn.cursor(cursor_factory=RealDictCursor) | |
def insert_responses(self, form): | |
with self._cursor as : | |
cur.execute() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment