I am new to Sanic and I finished run.py
script. When I click run
button in PyCharm, the app started and api worked, but I found some warnings in Terminal. Is there anything I missed? What I can do to fix these warnings?
# run.py
from sanic import Sanic
from src.view import admin, student, teacher
app = Sanic('xxx')
app.blueprint(admin, url_prefix='/admin')
app.blueprint(student, url_prefix='/student')
app.blueprint(teacher, url_prefix='/teacher')
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8084, debug=True, auto_reload=True)
# terminal warning
[35610] [WARNING] Could not find signal server.init.before
[35610] [WARNING] Could not find signal server.init.after