You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And change the functions in base_routes.py to test the changes:
@app.get("/sync/param/:id")
def sync_param(request: Request):
id = request.path_params["id"]
return id
But when I ran base_routes.py a go to /sync/param/:id I receive this message: ERROR:robyn.server:Error while executing route function: AttributeError: 'builtins.Request' object has no attribute 'path_params' and Internal Server Error message.
Imo,
params
don't really indicate anything meaningful. We should be referring them aspath_params
and being more explicitThe text was updated successfully, but these errors were encountered: