Skip to content

Commit

Permalink
Update endpoint explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu committed Sep 28, 2023
1 parent 088aec0 commit 3568474
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions api/neurolibre_preview_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3568474

Please sign in to comment.