Stop using .raw_args, deprecate and undocument it - refs #706

This commit is contained in:
Simon Willison 2020-05-27 15:29:42 -07:00
commit 50652f474b
4 changed files with 7 additions and 9 deletions

View file

@ -65,6 +65,7 @@ class Request:
@property
def raw_args(self):
# Deprecated, undocumented - may be removed in Datasette 1.0
return {key: value[0] for key, value in self.args.items()}
async def post_vars(self):