In progress: Jeeves communication is now based on SQLAlchemy
This commit is contained in:
parent
0fdc029153
commit
28726fee01
21 changed files with 637 additions and 78 deletions
|
|
@ -7,14 +7,14 @@
|
|||
"""
|
||||
import pymssql
|
||||
import datetime
|
||||
import logging
|
||||
from pyjeeves import logging, config
|
||||
|
||||
|
||||
class JvsQuery():
|
||||
"""JvsQuery based on http://pymssql.org/en/stable/ """
|
||||
def __init__(self, settings):
|
||||
def __init__(self):
|
||||
super(JvsQuery, self).__init__()
|
||||
self.settings = settings
|
||||
self.settings = config['jeeves_db']
|
||||
self.logger = logging.getLogger("PyJeeves.jvsquery")
|
||||
|
||||
def _execute(self, query="", params=(), iterator=True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue