flip_api.project_services.get_models ==================================== .. py:module:: flip_api.project_services.get_models Attributes ---------- .. autoapisummary:: flip_api.project_services.get_models.router Functions --------- .. autoapisummary:: flip_api.project_services.get_models.get_models Module Contents --------------- .. py:data:: router .. py:function:: get_models(request: fastapi.Request, project_id: uuid.UUID, session: sqlmodel.Session = Depends(get_session), user_id: uuid.UUID = Depends(verify_token)) -> flip_api.utils.paging_utils.IPagedData[flip_api.domain.interfaces.project.IModelsInfoResponse] Get the models associated with a project. :param request: The HTTP request object, used to access query parameters. :type request: Request :param project_id: The unique identifier of the project. :type project_id: UUID :param session: The database session for querying. :type session: Session :param user_id: The ID of the user making the request. :type user_id: UUID :returns: A paginated response containing the models of the project. :rtype: IPagedData[IModelsInfoResponse] :raises HTTPException: If the project is not found or if the user does not have permission to access it.