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
import datetime as dt | |
import decimal | |
import typing | |
from apistar import types | |
from apistar.http import JSONResponse, Response | |
from apistar.server.components import Component | |
from sqlalchemy.engine import Engine | |
from sqlalchemy.orm import sessionmaker, Session, scoped_session | |
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
from apistar import Include, Route | |
from apistar.frameworks.wsgi import WSGIApp as App | |
from apistar.http import QueryParams | |
from apistar_mail import mail_component, Mail, Message | |
from apistar_dramatiq import actor | |
settings = { | |
'MAIL': { | |
'MAIL_SERVER': 'smtp.example.com', | |
'MAIL_USERNAME': 'me@example.com', |
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
# -*- coding: utf-8 -*- | |
""" | |
pulley.util | |
~~~~~~~~~~~ | |
:copyright: (c) 2016 by Andrew Bednar. | |
""" | |
from flask.views import MethodView | |
from flask import request |
NewerOlder