Skip to main content

Add async function api signature decorators

Project description

BE-Base-Python

Implement

from flask import Flask
from config import config
from ai_service_wrapper import AiServiceWrapper

def create_app():

    app = Flask(__name__)
    app.config.update(config)
    AiServiceWrapper(app)

    return app

if __name__ == "__main__":
    app = create_app()
    app.run("0.0.0.0", 8000, debug=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_service_wrapper-0.0.4-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file ai_service_wrapper-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_service_wrapper-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68fd49f03a0e4e8141753c148000ff3f621a00298fb70411d2847113478fd556
MD5 e98f8babbbe78bd396966c75ce3825e8
BLAKE2b-256 79025c83882042e9c5bee95503eb226da7b730877c22eb2620baddf2b589d6f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page