Skip to content

Commit

Permalink
mention bool field in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sloev authored Mar 21, 2018
1 parent ff6e773 commit 936e307
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ $ curl 'http://0.0.0.0:8080/me/123/birthdate?birthdate=2017-10-30'

* **str** : `ex: ?message=hello world`
* **int** : `ex: ?age=100`
* **bool** : `ex: ?missing=false`
* **datetime.datetime** : `ex: ?currentdate=2017-10-30T10:10:30 or 2017-10-30`
* **datetime.date** : `ex: ?birthdate=2017-10-30`
* **List[str]** : `ex: ?words=you,me,them,we`
Expand All @@ -55,4 +56,4 @@ You need to apply the `parse_query_args` decorator as the first one executed whi

You should always have request as the first argument in your function in order to use `parse_query_args`.

**Note** that `request` arg can be renamed and even type-annotated as long as it is the first arg.
**Note** that `request` arg can be renamed and even type-annotated as long as it is the first arg.

0 comments on commit 936e307

Please sign in to comment.