eliot icon indicating copy to clipboard operation
eliot copied to clipboard

types documentation gives broken Field examples

Open exarkun opened this issue 10 years ago • 0 comments

https://github.com/ClusterHQ/eliot/blob/master/docs/source/types.rst#message-types says USERNAME = Field.for_types("username", [str]) (and gives several other examples of Field.for_types with two arguments). The method requires a third argument, the field description, so the examples don't work as-is.

exarkun avatar May 08 '15 14:05 exarkun