def user(self, match):
if len(match) == <NUM_LIT:9> and match[<NUM_LIT:0>] == '<STR_LIT>':<EOL><INDENT>return self._lookup(User, '<STR_LIT:id>', match)<EOL><DEDENT>return self._lookup(User, '<STR_LIT:name>', match)<EOL>
Return User object for a given Slack ID or name