Timeline for Concatenate function arguments with "AND" string if they're not None.
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 21, 2016 at 18:48 | comment | added | Graipher | @Richard And if it is really needed (because one variable is almost always False and you want to use short circuit evaluation) you can just make my_dict a collections.OrderedDict. | |
| Nov 21, 2016 at 18:05 | comment | added | Alex | @RichardNeumann yes, but since this is a query, order of and filter does not matter. | |
| Nov 21, 2016 at 17:11 | comment | added | user51621 | This will not preserve the order of the arguments. | |
| Nov 21, 2016 at 15:32 | history | answered | Alex | CC BY-SA 3.0 |