Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 513 Bytes

readme.md

File metadata and controls

30 lines (22 loc) · 513 Bytes

Bootstrapping asfquart

Constructing the base quart app

import asfquart

def main():
    app = asfquart.construct("name_of_app")
    return app

if __name__ == "__main__":
    app = main()

Other modules in the app will use:

import asfquart
APP = asfquart.APP

@APP.some_decorator
async def some_endpoint():
    return do_something()

See also (WIP):