async def METHOD_NAME(uid: int, fields=PROJECTION_VIEW):
  """Get a user by uid."""
  for user in builtin.USERS:
    if user['_id'] == uid:
      return user
  coll = db.coll('user')
  return await coll.find_one({'_id': uid}, fields)