This part has a mistake.

- The value of any parameter in params is a string then it is inserted into the generated path as is.
+ If the value of any parameter in params is a string, then it is inserted into the generated path as is.
Source: https://leafo.net/lapis/reference/actions.html#request-object-methods/request:url_for/using-the-url-key-method