-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Set up federation prototype and CI workflows #9
Conversation
* set up route and crud function for basic federation request Still the same * Yay, federation! Co-authored-by: Alyssa Dai <[email protected]> Co-authored-by: rmanaem <[email protected]>
* Changed router prefix and tag to `query` * Cleaned the good stuff Co-authored-by: Sebastian Urchs <[email protected]> Co-authored-by: Alyssa Dai <[email protected]> * Updated docstring for `get` function of `crud.py` Co-authored-by: Alyssa Dai <[email protected]> --------- Co-authored-by: Sebastian Urchs <[email protected]> Co-authored-by: Alyssa Dai <[email protected]> Co-authored-by: Alyssa Dai <[email protected]>
* Turned NEUROBAGEL_NODES to an env var * Added dependabot.yaml config file * Added codespell.yaml workflow file * Added lint.yaml workflow file * Added build_docker.yaml workflow file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good to me @alyssadai. One comment/question and then 🧑🍳
|
||
# Automatically start uvicorn server on execution of main.py | ||
if __name__ == "__main__": | ||
uvicorn.run("app.main:app", port=8000, reload=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does reload get ignored in prod? or should we remove that here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It gets ignored because of the Dockerfile entrypoint! This is the same as what we have for the node APIs.
🚀 PR was released in |
Merging all changes from the feature branch
dev
.Checklist
[ENH]
,[FIX]
,[REF]
,[TST]
,[CI]
,[MNT]
,[INF]
,[MODEL]
,[DOC]
) (see https://neurobagel.org/contributing/pull_requests for more info)Closes #XXXX
For new features:
For bug fixes: