Is it somehow possible to exclude certain part of the code when reloading the scrip with --reload flag?
uvicorn main:app --reload
Use case: I have a model which takes a lot of time loading so I was wondering if there is a way to ignore that line of code when reloading. Or is it just impossible?