Looks up a user account by their username. Returns: The user, if found (as `User` object) Raises: db.users.UserDoesNotExistError
(username)
| 187 | |
| 188 | |
| 189 | def get_account(username): |
| 190 | """Looks up a user account by their username. |
| 191 | |
| 192 | Returns: |
| 193 | The user, if found (as `User` object) |
| 194 | |
| 195 | Raises: |
| 196 | db.users.UserDoesNotExistError |
| 197 | """ |
| 198 | user_data = db.users.Users().get(username) |
| 199 | return _user_from_strings(*user_data) |
| 200 | |
| 201 | |
| 202 | def get_all_accounts(): |
nothing calls this directly
no test coverage detected