This message was deleted.
# ask-for-help
s
This message was deleted.
j
for 1 -> it will be created when the HTTP server is being startup. its the same as lifecycle hooks for FastAPI/starlette for 2-> it will be before even the service is being started. it will be initialize when the module is being called by
bentoml serve
👍 1
2 will happen first before 1
the use cases of lifecycle hooks you can refer to https://fastapi.tiangolo.com/advanced/events/
j
Thanks Jian!