David Wolever

Results 37 issues of David Wolever

It would be nice if it were possible to allow arbitrary queries to be used for building the search index on each field. For example, when indexing people's names, I'd...

I just spent half an hour debugging a matcher which was failing because I was trying to give the IsArrayContaining matcher an ArrayCollection instead of an array. The error message...

Because the definitions of `get(…)`, `post(…)`, etc use `Path | string`, invalid paths aren't checked: So, for example, this will compile without issue: ```typescript interface MyAPI { '/foo': {} }...

``` >>> msg = email.message_from_string("…") >>> msg['Subject'] '=?ISO-8859-1?B?U2VuZCBkYQ==?=\n =?ISO-8859-1?B?dGEgZnJvbS==?=' >>> email.header.decode_header(msg['Subject']) [('Send data from', 'iso-8859-1')] # The correct header >>> clean_msg = lamson.encoding.from_message(msg) >>> clean_msg['Subject'] u'Send da' # Uh oh!...

It would be super useful if the README had a simple usage example.

It would be great if this package was available on https://pypi.python.org/

When converting between units, if no target unit is specified, this patch will show conversions to all possible units: Please forgive any PHP faux-pas - the last time I wrote...

Per [the "explicit newlines" documentation](https://dprint.dev/plugins/typescript/#explicit-newlines), parens should be maintained around multiline assignment expressions: ```js const mathResult = ( 1 + 2); // formats as const mathResult = ( 1 +...

For example: ```js const columns = SQL.raw("foo, bar"); const whereClause = SQL`foo = ${someValue}`; const query = SQL`SELECT ${columns} FROM table WHERE ${whereClause}`; ``` TODO: - [ ] TypeScript typings...

This includes #27 and #28 Thank you very kindly to @joaonc for their work on this!