From 3568474c6065cd898cabf568277acbc791719b6c Mon Sep 17 00:00:00 2001 From: Agah Date: Thu, 28 Sep 2023 14:23:52 -0400 Subject: [PATCH] Update endpoint explanation --- api/neurolibre_preview_api.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/api/neurolibre_preview_api.py b/api/neurolibre_preview_api.py index 6401be8..2c90609 100644 --- a/api/neurolibre_preview_api.py +++ b/api/neurolibre_preview_api.py @@ -106,9 +106,7 @@ @use_kwargs(BuildSchema()) def api_book_build(user, id, repo_url, commit_hash): """ - Connect to binderhub build eventstream and forward it to - the client. - TODO: Celery. + This endpoint is to build books via GitHub (technical screening) requests. """ GH_BOT=os.getenv('GH_BOT') github_client = Github(GH_BOT) @@ -217,9 +215,7 @@ def api_book_build(user, id, repo_url, commit_hash): @use_kwargs(BuildTestSchema()) def api_book_build_test(user, repo_url, commit_hash, email): """ - Connect to binderhub build eventstream and forward it to - the client. - TODO: Celery. + This endpoint is used by robo.neurolibre.org. """ [owner, repo, provider] = get_owner_repo_provider(repo_url)