Commit 2872181
Babata
docs: note UUID-to-int coercion in with_query docs (#1458)
Types implementing __int__ (e.g. uuid.UUID) are converted to integers
by the query parameter API because int is preferred over str for numeric
coercion. Add a tip with a doctest showing how to cast to str to get
the human-readable representation.1 parent 148fc70 commit 2872181
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
699 | 713 | | |
700 | 714 | | |
701 | 715 | | |
| |||
0 commit comments