-
Notifications
You must be signed in to change notification settings - Fork 0
Server build for target updates #4
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,81 @@ | ||||||||||||||
| from fastapi import FastAPI, Query | ||||||||||||||
| from typing import List | ||||||||||||||
| import subprocess | ||||||||||||||
| import os | ||||||||||||||
| import shutil | ||||||||||||||
| from datetime import datetime | ||||||||||||||
|
|
||||||||||||||
| app = FastAPI() | ||||||||||||||
|
|
||||||||||||||
| # Configuration | ||||||||||||||
| LOCAL_REPO_BASE = r"" #it shoukd be the path to the folder where the node id(sensor) are stored | ||||||||||||||
| BRANCH = "main" | ||||||||||||||
|
Comment on lines
+11
to
+12
|
||||||||||||||
| LOCAL_REPO_BASE = r"" #it shoukd be the path to the folder where the node id(sensor) are stored | |
| BRANCH = "main" | |
| LOCAL_REPO_BASE = r"" #it should be the path to the folder where the node id(sensor) are stored |
Copilot
AI
Apr 29, 2025
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.
[nitpick] Correct the typo 'shoukd' to 'should' in the comment.
| LOCAL_REPO_BASE = r"" #it shoukd be the path to the folder where the node id(sensor) are stored | |
| BRANCH = "main" | |
| LOCAL_REPO_BASE = r"" #it should be the path to the folder where the node id(sensor) are stored |
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.
An empty BACKUP_PATH may lead to unintended behavior when creating or restoring backups; consider providing a valid default path or adding a guard clause to handle empty values.