def filter_users(username: str, project_id: int, page: int, is_project_manager: bool = False) -> UserFilterDTO: """ Gets paginated list of users, filtered by username, for autocomplete """ return User.filter_users(username, project_id, page, is_project_manager)
def filter_users(username: str, page: int) -> UserFilterDTO: """ Gets paginated list of users, filtered by username, for autocomplete """ return User.filter_users(username, page)