🎨 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:
parent
8689c39c06
commit
0259bf4acc
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue