This is a problem with epytext I guess.  `@param keys:` strongly suggests the signature of the function is `def fields(keys):`.

Presumably some other spelling (eg `@param **keys:` or `@param **:`) could make this unambiguous but I don't know what pydoctor would make of such things.