zlacker

[parent] [thread] 0 comments
1. nerdwa+(OP)[view] [source] 2021-10-27 23:49:56
In a way it is impressive codepilot knew how to separate the query string while still being correct. However this is a fairly naive way to build a url that I wouldn't encourage committing. If I saw this in code in a review I would recommend using a dict and `urlencode` or one of the various other URL builders available (either in the stdlib or through another library like `yarl`/etc.).
[go to top]