Elior Cohen
07/13/2023, 7:28 AMroot_path in order for everything to work as expected, e.g.
app = FastAPI(
root_path="/api/v1")
What I'm trying to achieve, is have this root_path defined by a environment variable, e.g. root_path=os.environ["API_ROOT_PATH"]. Since BentoML wraps FastAPI for me, I wonder how can I achieve that?