This line should look like this:

'url() expects a dictionary for query parameters')