Skip to content

Commit

Permalink
Merge branch 'main' into 51-implementing-2-models
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxence Guindon authored Apr 8, 2024
2 parents d9ffdfb + e26be23 commit 4db261c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ NACHET_BLOB_PIPELINE_NAME=
NACHET_BLOB_PIPELINE_VERSION=
NACHET_BLOB_PIPELINE_DECRYPTION_KEY=
NACHET_MAX_CONTENT_LENGTH=
NACHET_SWIN_ENDPOINT=
NACHET_SWIN_ACCESS_KEY=
NACHET_SEED_DETECTOR_ENDPOINT=
NACHET_SEED_DETECTOR_ACCESS_KEY=
NACHET_MAX_CONTENT_LENGTH=
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This CODEOWNERS file is auto-generated. See the script at <https://github.com/ai-cfia/devops/blob/main/github-management-script/codeowners-file-creation.sh> for modification details.

* @ai-cfia/backend
* @ai-cfia/nachet
/.github/ @ai-cfia/devops
Dockerfile @ai-cfia/devops
docker-compose.yml @ai-cfia/devops
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,4 @@ backend to function, you will need to add the missing values:

If you need help deploying Nachet for your own needs, please contact us at
<[email protected]>.

3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"endpoints": None,
"pipelines": {},
}

app = Quart(__name__)
app = cors(app, allow_origin="*", allow_methods=["GET", "POST", "OPTIONS"])
app.config["MAX_CONTENT_LENGTH"] = MAX_CONTENT_LENGTH * 1024 * 1024
Expand Down Expand Up @@ -296,7 +297,6 @@ async def test():

return CACHE["endpoints"], 200


async def fetch_json(repo_URL, key, file_path):
"""
Fetches JSON document from a GitHub repository and caches it
Expand Down Expand Up @@ -352,7 +352,6 @@ async def get_pipelines():
return result_json.get("pipelines")



@app.before_serving
async def before_serving():
try:
Expand Down

0 comments on commit 4db261c

Please sign in to comment.