Skip to content

Commit

Permalink
fix(backend): reslove merge conflict in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Oct 14, 2024
1 parent 8ac63ff commit d959a81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions src/backend/app/projects/project_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,21 +530,12 @@ def calculate_status(cls, values):
completed_task_count = values.completed_task_count
total_task_count = values.total_task_count

<<<<<<< HEAD
if completed_task_count == 0 and ongoing_task_count == 0:
values.status = "not-started"
elif completed_task_count == total_task_count:
values.status = "completed"
else:
values.status = "ongoing"
=======
if ongoing_task_count == 0:
values.status = "not-started"
elif ongoing_task_count > 0 and ongoing_task_count != completed_task_count:
values.status = "ongoing"
elif ongoing_task_count == total_task_count:
values.status = "completed"
>>>>>>> 5e8a37ab505a3c4c12fa2a98348992c427652b61

return values

Expand Down
3 changes: 0 additions & 3 deletions src/backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ dependencies = [
"psycopg2>=2.9.9",
"pyodm>=1.5.11",
"asgiref>=3.8.1",
<<<<<<< HEAD
"drone-flightplan>=0.3.1",
=======
>>>>>>> 5e8a37ab505a3c4c12fa2a98348992c427652b61
]
requires-python = ">=3.11"
license = {text = "GPL-3.0-only"}
Expand Down

0 comments on commit d959a81

Please sign in to comment.