🎨 style(endpoints.py): rename get_load function to predict_flow for better semantics

The function name was changed to predict_flow to better reflect the functionality of the endpoint.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-13 19:53:00 -03:00
commit 0259bf4acc

View file

@ -39,7 +39,7 @@ def get_all():
@router.post("/predict", response_model=PredictResponse)
async def get_load(
async def predict_flow(
predict_request: PredictRequest,
flow: Flow = Depends(get_flow_from_token),
):