restapi.services.authentication.NoAuthentication.get_user
- NoAuthentication.get_user(username=None, user_id=None)[source]
How to retrieve a single user from the current authentication db, based on the unique username or the user_id return None if no filter parameter is given
- Parameters:
username (
Optional[str], default:None)user_id (
Optional[str], default:None)
- Return type:
Optional[Any]