comment-server/lbry_comment_server/__init__.py
2019-05-20 06:49:08 -04:00

9 lines
426 B
Python

from lbry_comment_server.settings import config
from lbry_comment_server.database import obtain_connection, validate_input, get_claim_comments
from lbry_comment_server.database import get_comments_by_id, get_comment_ids, create_comment
from lbry_comment_server.handles import api_endpoint
schema = config['path']['schema']
database_fp = config['path']['dev']
backup = config['path']['backup']
anonymous = config['anonymous']