# Path: tornado/ncss.py
# class Server:
#             class Handler(tornado.web.RequestHandler):
#     def __init__(self, *, hostname='', port=8888, static_path='static'):
#     def register(self, url_pattern, handler, *, delete=None, get=None, patch=None, post=None, put=None, url_name=None, write_error=None, **kwargs):
#                 def delete(self, *args, **kwargs):
#                 def get(self, *args, **kwargs):
#                 def patch(self, *args, **kwargs):
#                 def post(self, *args, **kwargs):
#                 def put(self, *args, **kwargs):
#                 def get_field(self, name, default=None, strip=True):
#                 def get_fields(self, strip=True):
#                 def get_file(self, name, default=None):
#                 def get_files(self, name, default=None):
#                 def write_error(self, status_code, **kwargs):
#     def app(self, **kwargs):
#     def loop(self):
#     def run(self):


import sqlite3
from tornado.ncss import ncssbook_log


class DoesNotExistError(LookupError):
    pass

class NonUniqueError(LookupError):
    pass

class Model(object):
	_conn = sqlite3.connect('ncssmurder.db', isolation_level=None)
	_table = None

	@classmethod
	def _sql(cls, query, args=()):
		args = tuple(args)

# Path: tornado/ncss.py
# class Server:
#             class Handler(tornado.web.RequestHandler):
#     def __init__(self, *, hostname='', port=8888, static_path='static'):
#     def register(self, url_pattern, handler, *, delete=None, get=None, patch=None, post=None, put=None, url_name=None, write_error=None, **kwargs):
#                 def delete(self, *args, **kwargs):
#                 def get(self, *args, **kwargs):
#                 def patch(self, *args, **kwargs):
#                 def post(self, *args, **kwargs):
#                 def put(self, *args, **kwargs):
#                 def get_field(self, name, default=None, strip=True):
#                 def get_fields(self, strip=True):
#                 def get_file(self, name, default=None):
#                 def get_files(self, name, default=None):
#                 def write_error(self, status_code, **kwargs):
#     def app(self, **kwargs):
#     def loop(self):
#     def run(self):


# Path: murder/db.py
import sqlite3
from tornado.ncss import ncssbook_log



class DoesNotExistError(LookupError):
    pass

class NonUniqueError(LookupError):
    pass

class Model(object):
	_conn = sqlite3.connect('ncssmurder.db', isolation_level=None)
	_table = None

	@classmethod
	def _sql(cls, query, args=()):
		args = tuple(args)

		ncssbook_log.debug('sql query=%r args=%r', query, args)