flip_api.project_services.get_project_approved_trusts ===================================================== .. py:module:: flip_api.project_services.get_project_approved_trusts Attributes ---------- .. autoapisummary:: flip_api.project_services.get_project_approved_trusts.router Functions --------- .. autoapisummary:: flip_api.project_services.get_project_approved_trusts.get_project_approved_trusts_endpoint Module Contents --------------- .. py:data:: router .. py:function:: get_project_approved_trusts_endpoint(project_id: uuid.UUID, session: sqlmodel.Session = Depends(get_session), current_user_id: uuid.UUID = Depends(verify_token)) -> list[flip_api.db.models.main_models.Trust] Retrieves a list of trusts that have been approved for the specified project. The project must have a status of 'APPROVED'. :param project_id: The ID of the project to retrieve approved trusts for. :type project_id: UUID :param session: Database session, provided by dependency injection. :type session: Session :param current_user_id: The ID of the currently authenticated user, provided by dependency injection. :type current_user_id: UUID :returns: A list of approved trusts for the project. :rtype: list[Trust] :raises HTTPException: If the request cannot be processed.